How to obtain number of FB likes via the Graph API 2.12?

0 like 0 dislike
29 views
Welcome!

The problem is this:
Have a blog, it publishes articles, and links are laid out in the group on facebook.

On the old API (up to 2.10) do the query https://graph.facebook.com/ссылка page and json came up with the huskies.
The new versions of the API cannot get the likes from the post, because you need to get the id of this post view id-группы_id post
how to link the url of the page and post?
by | 29 views

2 Answers

0 like 0 dislike
If You have no token of the page itself, the number of likes you can not get. All depends on the policy page.
by
0 like 0 dislike
When you post the link the API returns you the id of the post, save this id in a database and then interrogate directly the post.
GET /?likes.limit(0).summary(true)
If you want detailed information, ask for the read_insights permission to interrogate a post like this:
GET //insights/metric?options...
by

Related questions

0 like 0 dislike
2 answers
0 like 0 dislike
2 answers
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
110,608 questions
257,186 answers
0 comments
32,758 users