facebookfacebook-graph-apifacebook-javascript-sdkfacebook-graph-api-v2.2

Finding mutual friends on facebook


I want to find out mutual friends between two random users using the facebook Graph API v2.2.

I read through the documentation https://developers.facebook.com/docs/graph-api/reference/v2.2/user.context/mutual_friends It says, "A valid user access token with user_friends permission is required to view the mutual friends of other friends using the app. "

Is there a way that I can find number and possibly names of all mutual friends between currentUser and User2, if they are not friends with each other?

I referred to many other questions: Facebook Graph API 2.2 mutual friends => No answers

How to get Mutual Friends via Facebook's Graph API => The solution works only if the two users are friends, which may not be true in my case.


Solution

  • Facebook API does not allow this feature: https://developers.facebook.com/bugs/346462608889036/