views:

104

answers:

1

Hi, Here is a tricky question, how do you get the like count of a facebook object such as an album or a photo? I know that facebook has a fql table called link_stat that allow you to get the like count for an external url, but it does not seem to work if the object is within facebook. If you access the likes via the opengraph api on a particular object, it will only return a maximum of 4 users that like the object, even though there maybe a few thousand users that like it. Any clues?

A: 

See http://developers.facebook.com/docs/reference/fql/like

You can do fql query to retrieve a list of the likes based on the object_id then do a count.

jostster

related questions