PDA

View Full Version : Facebook Comment Api, mysql, php


NerdArmy
12-17-2011, 09:26 PM
I have a image based website that I want to integrate with facebooks comment api (the site is database driven). People can click on a thumbnail and are brought to a larger version of that image on another page. I would like for people to be able to comment on the specific images they click on. The problem is all my unique images are linked to the same view.php page, just different parameters are passed to bring up that specific image. So my question is how do I apply a unique comment box for every image, even though the images are all displayed from the same view.php page. Do I paste the fb api code in a mysql column and cross over the parameter? Or is there another way? I've never worked with facebook api so I'm new to this.