In the v2.0 API, the caller /me/friends returns the personโs friends who also use this application.
In addition, in version 2.0 you must request user_friends permission from each user. user_friends no longer enabled by default in all inputs. Each user must grant user_friends permission to appear in the /me/friends response. See the Facebook update guide for more details or view the summary below.
Permissions of /me/friendlists endpoint and user_friendlists not what you need. This endpoint does not return user friends - it allows you to access the lists that a person made to organize their friends. He does not return friends in each of these lists. This API and permission are useful to allow you to create a custom privacy selector, giving people the ability to post to Facebook.
If you want to access the list of friends who are not using the application, there are two options:
In other cases, applications can no longer get a complete list of userโs friends (only those friends who specifically authorized your application using user_friends permission).
For applications that want people to invite friends to use the application, you can still use the Send Dialog on the Internet or the new Message Dialog in iOS and Android .
Simon Cross May 29 '14 at 5:43 a.m. 2014-05-29 05:43
source share