Get Facebook Link

Using the Facebook API with FQL, how can I get a list of users who liked this URL? I got the URL and I want to ask Facebook to find out how many people and who liked this URL.

Using PHP or ASP.Net ... doesn't matter, just want to know how to write a FQL query.

+3
source share
5 answers

Unfortunately, this data is not available. What is possible through Link Graph API objects and the FQL link simply retrieves the given instance in which the link was shared by the user. You can get the number of messages you like on the link posting page, but this is most likely not what you want.

I discussed this 3-6 months ago with the guys on Facebook, and then the consensus was also that getting this data through the API is impossible. As far as I know, things have not changed, and there are some privacy arguments for storing this data from the API.

+3
source
'SELECT user_id FROM like WHERE object_id IN (SELECT link_id from link WHERE url = 'YOUR URL HERE' AND owner = 'YOUR USER ID HERE' '

Like FQL table

FQL table reference

0
source

, user_likes . , http://graph.facebook.com/me/likes , ( -), , .

( , , )

0

FQL, ... 500 , , : https://www.facebook.com/browse/?type=page_fans&page_id={id}, , , , 500. , page_id, .

0

, . , , , .

FQL Facebook : https://developers.facebook.com/docs/reference/fql/page/ , . SELECT name, fan_count FROM page WHERE page_id = 19292868552 page_id , .

0

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


All Articles