This question already has an answer here:
I am trying to fetch degree of separation between users in Facebook API. Similar to the one in LinkedIn. I tried to fetch friends of friends through the Facebook API v2.2, but it didn't work out. Can anyone please give me some suggestions to achieve this.
Best How To :
"it did not work out" is not a good description. But anyway, what you are trying to achieve is not possible at all. You can´t get access to "friends of friends", you can´t even get access to "all friends" (first level) anymore. With /me/friends, you only get friends who authorized your App too, for privacy reasons.
See the changelog for more information: https://developers.facebook.com/docs/apps/changelog