Getting users who like the Facebook GUI webpage

I am struggling with the Facebook API. What I want to do is look at the user feed, see which web pages they clicked on β€œHow to,” and then get other users who love the same web page. I have two problems.

1) Whenever I get a user’s channel, all β€œLikes” are removed from the feed. He is very disappointed because he, like Facebook, will give me everything except what I'm looking for!

2) I cannot get a list of user IDs who like a specific URL. I tried using FQL as follows:

SELECT user_id FROM like WHERE object_id = 114324145263104

As suggested in another SO question, but this did not return anything in all my attempts.

Does anyone know how to do this, or if possible? Thank you for your help!

+5
source share
2 answers

There is another request for getting url links

SELECT url FROM url_like WHERE user_id = me()

In your case, this is so.

SELECT user_id FROM url_like WHERE url = "http://www.domain.com/"
+1
source

I had the same problem. This is what I do

https://graph.facebook.com/URL

OR if you have multiple URLs, click

https://graph.facebook.com/?ids=URL1,URL2,URL3

-1
source

All Articles