Reputation: 21
I use the js sdk to get a list of my friends with no problem. The list I get is from my facebook personal page (Tony Easterbird)
I alse have a fan type page, called Katahdin Sheep. I want to get a list of people who like this page. (Katahdin Sheep).
the appID is the same for both pages, so I am a little confused on how to get the list.
If have tried:
FB.api('me/KatahdinSheep', function(response){... etc
and also:
FB.api ('Katahdin.Sheep', function(response){ ... etc
Can you please steer me in the right direction? Your help is truly appreciated.
Tony
Upvotes: 2
Views: 311
Reputation: 48006
I don't believe you can retrieve a list of users by a page_id
(using the API).
I believe the only thing you can do is test a specific user_id
against a page_id
to see if that user has already liked your page.
Through the Facebook website, you can see exactly who has liked your page but I believe Facebook has limited the API in this way to prevent data mining by applications.
Upvotes: 1