Any chance the 'me/friends' graph api or friends FQL table return some friends only?
I’ve checked the results and it’s slightly less than the count I see on facebook.com
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In Graph API V1.0
A call to
/friendson a User object (e.g./me/friends) or a query of thefriendFQL table should return all friends of that user exceptIf you find friends are missing from the response it’s almost certainly for one of those reasons, and in my experience most people asking this question are asking about the third case.
The option to remove platform option is currently under Privacy Settings -> Ads, Apps & Websites -> ‘Turn off your ability to use apps, plugins, and websites on and off Facebook
If you’re not getting all friends in a single call and you’re sure it’s not because of one of those reasons, check if you have a
limitparameter in your query – and increase it if it’s less than the number of friends you think should be appearing.e.g.
/me/friends?limit=5000for the maximum number of friends allowed, 5000Note that the friends count will include users which can’t be retrieved in the list (e.g. the
friend_countfield of the User FQL table)In Graph API V2.0 or higher
A call to
/friendson a User object will, if the user has granted your app theuser_friendspermission, return the friends of that user who have also granted your app theuser_friendspermission –You can read more about the change from v1.0 to v2.0 in Facebook Graph Api v2.0+ – /me/friends returns empty, or only friends who also use my app or on Facebook’s changelog