Facebook iOS SDK - get friends list in Graph API v2.4

前端 未结 3 1362
野性不改
野性不改 2021-01-05 14:57

I am using below code to get Facebook friend that uses app

// Issue a Facebook Graph API request to get your user\'s friend list
    FBSDKGraphRequest *requ         


        
3条回答
  •  再見小時候
    2021-01-05 15:43

    Its not possible to get FriendList or EmailId of Friends, according to new API version, but if You want show FriendList use TaggableFriend Feature of Facebook.This Taggable API needs Approval from Facebook and this API returns id, Friend name, Profile picture URL.but Id is not FacebookId its Id for Post on wall.This only way to get friends.But if you use me/friends it return total number of friends and friend List of app User. Since you you don't have app user it only showing total Count of Friend.To implement this Feature you login with Admin Account(The Account from which Facebook ID Created)for this you have to implement the paging Concept.

    Use this Code Spinnet: "/me/taggable_friends?fields=id,name,picture.type(large).

提交回复
热议问题