Wednesday, October 24, 2012

Facebook like button with facebook photos

I've been using the Facebook Like plugin (the like button) in order to allow people to like my facebook posts through my website.

All goes well, providing the URL to like from the actual post (eg. http://www.facebook.com/xxxxxxxxx/posts/yyyyyyyyy). It displays the like button along with the number of likes that post currently has and allows me to like it. If I'm not logged in to facebook, I'm given a prompt to log in as expected.

However, once that post is of type "photo" (as seen in the graph api) and as such contains a photo, the above method does not work. Even tho the direct link to the post page shows that it has likes, the like button still shows 0 likes, and clicking the like button increases that 0 to 1, but does not increase the like count on that post/photo. It's as if facebook does not connect likes to a post when it contains a photo.

My question is... is it possible to find the proper URL to add to the facebook button in order for it to fetch the right likes from the photo/post (just like it would if there's only a post), and if so, how would I go about finding that URL?

Source: http://facebook.stackoverflow.com/questions/13032452/facebook-like-button-with-facebook-photos

Katherine Jackson Olympics Opening Ceremony Time aapl US weekly amelia earhart Sally Ride Ichiro

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.