how to get followers list from facebook account by graph api?

后端 未结 2 590
说谎
说谎 2020-12-10 13:02

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         


        
相关标签:
2条回答
  • 2020-12-10 13:51

    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.

    0 讨论(0)
  • 2020-12-10 13:52

    Now in new version 2.0 subscribers has been remove in this version, but you can use v1.0 to get follows user

    FB->api("v1.0/me/subscribers"); (Javas script);
    

    require permission user_subscribers ...

    0 讨论(0)
提交回复
热议问题