Facebook API object likes restrictions, likes counting and number of shares

I have a website page on which I place the Facebook Like plugin so people can see and click this button on my website page

enter image description here

I also want to get a list of people who liked / recommended a page of my site (and not a facebook page) using the Facebook API.

For example: on my website page, I see this button and the text that I liked 3 of my friends and other 20 people. Therefore, if I open this URL

https://graph.facebook.com/v2.8/?id=MY_WEBSITE_PAGE_URL

I will get a JSON file for example

og_object: {
id: "11******038",
description: "some text",
title: "some title",
type: "article",
updated_time: "2017-03-23T06:29:16+0000"
},
share: {
 comment_count: 0,
 share_count: 23
},
id: "MY_WEBSITE_PAGE_URL"

Thus, 23 people who liked this page on my site. And it seems that everything is in order, but I do not understand what happens when I try to get a list of these 23 people.

og_object- > id, URL

https://graph.facebook.com/v2.8/og_object->id/likes?access_token=MY_ACCESS_TOKEN&summary=true

JSON, 13 ,

summary: {
total_count: 13,
can_like: false,
has_liked: false
}

, - 13 , 23. - 40 , 15 .

? , , facebook , ?

+4
2

: 13 , "" ( -), , , , , .

.

moonvader, ( facebook, ) . , Open Graph.

, moonvader, .

API- Facebook URL- , , ,

, URL-. .

API- Facebook Graph sharedposts , , Open Graph :

user_posts, , , .

, , , .

10 , "" - . , moonvader 13 , "" .

+1

Source: https://habr.com/ru/post/1673268/


All Articles