Get friend list facebook 3.0

前端 未结 7 883
感情败类
感情败类 2020-12-12 22:57

I\'m trying to obtain my friend list from facebook using new SDK(3.0). I\'m facing problems related to what kind of params I need to insert in a Bundle and how to use newMyF

7条回答
  •  眼角桃花
    2020-12-12 23:27

    Unfortunately Facebook remove those permissions.

    /me/friends returns the user's friends who are also using your app.

    In v2.0, the friends API endpoint returns the list of a person's friends who are also using your app. In v1.0, the response included all of a person's friends.

    In v1.0, it was possible to ask for permissions that would allow an app to see a limited amount of friend data, such as a person's friend's likes, their birthdays, and so on.

    In v2.0, those permissions have all been removed. It's no longer possible for an app to see data from a person's friends unless those friends have also logged into the app and granted permission for the app to see it that data

    https://developers.facebook.com/docs/apps/upgrading#v2_0_friendlist_title

提交回复
热议问题