Retrieving number of likes to a particular facebook page in android app -
i want create simple "about us" page in android app user can go facebook page have more information application. have done through hyperlink unable fetch number of likes facebook page using hyperlink. have searched solution everywhere got suggestion install "facebook sdk" tedious & lengthy procedure when want have number of likes on page. don't want integrate facebook in app provide user facilities fb login or status update through app etc. & simple requirement fetch number of likes on page there simple way or have go installing facebook sdk. please help...
just simple http request following url:
https://graph.facebook.com/fql?q=select%20url,%20normalized_url,%20share_count,%20like_count,%20comment_count,%20total_count,%20commentsbox_count,%20comments_fbid,%20click_count%20from%20link_stat%20where%20url=%27http://www.stackoverflow.com%27
change http://www.stackoverflow.com
whatever page want check.
the above url return this:
{ "data": [ { "url": "http://www.stackoverflow.com", "normalized_url": "http://www.stackoverflow.com/", "share_count": 5206, "like_count": 1745, "comment_count": 1938, "total_count": 8889, "commentsbox_count": 3, "comments_fbid": 450042939888, "click_count": 91 } ] }
Comments
Post a Comment