问题描述
我有点困惑.我具有访问令牌(friends_photos)的适当权限:
I'm a bit confused. I have the proper permissions for my access token (friends_photos):
id是朋友的ID.这:https://graph.facebook.com/id/albums?access_token=...
正确返回
id is a friends id.This:https://graph.facebook.com/id/albums?access_token=...
returns properly
但是:
https://graph.facebook.com/id/photos?access_token=...
返回空.
对标记有朋友的所有照片的正确要求是什么?
Whats the proper request for all photos a friend is tagged in?
推荐答案
UPDATE
Facebook已删除此权限,它将不再起作用.
朋友照片权限为= friends_photos
UPDATE
Facebook has removed this permission, it will not work any more.
Friends photos permissions are = friends_photos
如果您没有找回照片,则可能是由于权限所致.一种简单的测试方法是goto graph.facebook.com,通过单击示例链接之一(即您的朋友)来检查您自己的完全访问密钥.尝试获取朋友照片时使用该键.如果可行,则他们已禁止应用程序访问自己的照片.
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.
此处的权限api信息 https://developers.facebook.com/docs/reference/api/permissions/
The permission api info is here https://developers.facebook.com/docs/reference/api/permissions/
这篇关于Facebook Graph API:朋友照片的权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!