Facebook Graph API: Permissions to Friends Photos

跟風遠走 提交于 2019-12-24 03:22:24

问题


I'm a bit confused. I have the proper permissions for my access token (friends_photos):

id is a friends id. This: https://graph.facebook.com/id/albums?access_token=... returns properly

But:

https://graph.facebook.com/id/photos?access_token=... returns empty.

Whats the proper request for all photos a friend is tagged in?


回答1:


UPDATE

Facebook has removed this permission, it will not work any more.

Friends photos permissions are = friends_photos

If you are not getting photos back then it could be due to permissions. A easy way to test that out is goto graph.facebook.com , check your own full access key by clicking one of the example links (i.e your friends). Use that key when trying to get a friends photos. If it works then they have disabled application access to their own photos.

The permission api info is here https://developers.facebook.com/docs/reference/api/permissions/



来源:https://stackoverflow.com/questions/9047785/facebook-graph-api-permissions-to-friends-photos

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!