how to get followers list from facebook account by graph api?
I got friends from facebook account by
FB.api('/me/friends?access_token='+accessToken, {
fields : 'id, name, picture'
}, function(response) {
});
There is any way to get my Facebook account's followers?
From “Graph API Explorer” drop down, select your app. Then, select “Get Token”. From this drop down, select “Get User Access Token”. Select permissions from the menu that appears and then select “Get Access Token.”
The simplest way to get a copy of the User Profile object is to access the /me endpoint: FB. api('/me', function(response) { }); This will this will return the users name and an ID by default.
OUTDATED ANSWER
You cannot get a user's subscribers as of API version 2.0
Yes there is. The User's who follow a particular User are his subscribers, and the endpoint
https://graph.facebook.com/<user_id>/subscribers
This will show you the total count if you don't have user_subscriptions
or friends_subscriptions
permission, if you have those you would get name and ids of the Users who follow a User.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With