0

I was searching for any way to get the mutual friends on facebook and i got this one

https://developers.facebook.com/tools/explorer/?method=GET&path=me%2Fmutualfriends%2F&version=v2.0

But i found out that it is deprecated !! although Tinder got shared friends on Facebook.

So is there any way that i can get mutual friends on facebook on my iOS app?

Ken Y-N
  • 14,644
  • 21
  • 71
  • 114
Iman
  • 1,097
  • 2
  • 11
  • 19
  • How did you end up solving this? I have the same issue and I would love to know. – meisel Nov 20 '14 at 16:15
  • @meisel Facebook deprecated it, even for apps that already have this feature , Facebook only gave them one year and then it will give them error. But if you already have the facebook friends list , I made a server function to get the common ids between the two friends'list. Hope this help – Iman Nov 24 '14 at 14:34
  • Im interested in your server function. – TastyCat Jan 19 '17 at 01:27

1 Answers1

2

Since API v2.0, you (after granting user_friends permission) can only get the list of mutual friends with a user that also granted user_friends permission. The list will only have mutual friends that are using your app and granted user_friends permissions.

Please, see https://developers.facebook.com/docs/graph-api/reference/v2.0/user.context/mutual_friends

Cheers!

Update: The All Mutual Friends API feature was deprecated for Graph API v3.1 on July 26, 2018, and will be deprecated for all versions on October 24, 2018.

https://developers.facebook.com/docs/apps/review/feature#reference-ALL_MUTUAL_FRIENDS

Harry Moreno
  • 10,231
  • 7
  • 64
  • 116
edgebal
  • 336
  • 1
  • 7
  • Thanks , I had to make a twist to get the mutual friends , I got the friends Ids of the two users , and the common IDs ,are the common friends.then i get their data by the their IDs – Iman May 15 '14 at 01:44
  • 1
    I wish Facebook's documentation made it as clear as this! Cheers – David Bailey Jul 17 '14 at 22:12