Reputation: 3106
I need facebook like, share and comment count by passing the post url ("www.example.com/exampleblog") without using fql(as fql is not supported in v2.1).
i dont want the below one
https://graph.facebook.com/fql?q=SELECT url,
share_count, like_count, comment_count,
total_count,commentsbox_count, comments_fbid,
click_count FROM link_stat WHERE url='http://example.example.com/'
can anyone suggest an alternative to the above , that supports api v2.1?
Upvotes: 6
Views: 2545
Reputation: 707
In Graph v2.1, Facebook added the URL node to query details about any given URL. It'll give you plenty of details, including share/comment counts.
Upvotes: 1