Facebook friends list is empty, just for one specific user -


simply executing query aiming list friend's friends:

get https://graph.facebook.com/hisfacebookuserid/friends?return_ssl_resources=1&access_token=hisaccesstoken 

i obtain empty data entry. => if had 0 friends. (but has 800).

however, works many other users.

what might reason?

since v2.0 of facebook api, can friends authorized app too. it´s (privacy) feature, not bug.

https://developers.facebook.com/docs/apps/changelog

also, it´s not necessary use id call, because can friends of authorized user anyway:

/me/friends 

btw, don´t forget authorize users user_friends permission.


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -