views:

61

answers:

2

Using https://graph.facebook.com/id/likes?access_token=XXXXXXX works for some urls as does http://graph.facebook.com/?ids=url but some urls from locations like washingtonpost.com and techcrunch.com don't have the 'likes' data but it must be available because itstrending.com has these sites listed, with accurate likes counts.

Thanks

+2  A: 

You can do this through FQL:

SELECT like_count FROM link_stat WHERE url="http://www.washingtonpost.com"

returns 287.

serg
Thanks. Any way you know of to do this with the graph api alone?
Ash
+1  A: 

After digging around some more, I found this: http://developers.facebook.com/docs/reference/rest/links.getStats

Which gives you shares, likes and comments on a url.

Ash

related questions