Using facebook sdk to show ALL mutual friends, not just those who have the app?

facebook, facebook-graph-api, facebook-javascript-sdk

Solution

The additional notes on that page explain it fairly well why you cannot get all.

- A valid user access token with user_friends permission is required to view the mutual friends of other friends using the app.

- The user in the request and the session user must both have granted user_friends permission to the app.

- Additionally, the response will only include any mutual friends who have granted user_friends to the app.

That is, the only way to get a complete list of mutual friends is if all your friends signed up to your app and granted user_friends permissions

Problem

I am using the facebook javascript sdk and I want to show ALL mutual friends between those users, not just those who have the app. Using the api documentation here, I can only see a list of mutual facebook friends who have the app. How can I get complete list of mutual friends?

Original source