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?
What is the Facebook API? The Facebook Graph API is an HTTP-based API that allows developers to extract data and functionality from the Facebook platform. Applications can use this API to programmatically query data, post in pages and groups, and manage ads, among other tasks.
The Graph API is the primary way to get data into and out of the Facebook platform. It's an HTTP-based API that apps can use to programmatically query data, post new stories, manage ads, upload photos, and perform a wide variety of other tasks.
We recommended that you use the /object/reactions endpoint to get like counts, if available.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With