Fetch Facebook Mutual friends between me and another User

前端 未结 2 371
有刺的猬
有刺的猬 2021-01-27 17:37

i want to fetch Facebook Mutual friends in my ios App

this is my try to get mutual friends i call with this Link

[NSString stringWithFormat:@\"me/mutua         


        
2条回答
  •  梦如初夏
    2021-01-27 18:21

    You're using the wrong endpoint syntax, as @CBroe already pointed out, and which is also clear from the docs.

    You need to use

    /{user-id}.context/mutual_friends
    

    The {user-id} is the user you're interested in, and the "other" user is the one which Access Token was used for the request. This ONLY works for users which are both already users of your app.

提交回复
热议问题