FQL Photo Query

别来无恙 提交于 2019-12-11 04:53:56

问题


I am attempting to query the Photo table through FQL using this query:

SELECT owner FROM photo WHERE pid="XXXX"

For some reason, no matter what pid I choose, I get an empty set response:

Facebook responded with HTTP status code 200 and response body: []

I am using RestFB.


回答1:


Do you have permissions to access the users photos?

user_photos and/or friends_photos
Provides access to the photos the user has uploaded, and photos the user has been tagged in.

https://developers.facebook.com/docs/reference/api/permissions/#user_friends_perms


Graph FQL https://developers.facebook.com/docs/reference/fql/ with sample query.



来源:https://stackoverflow.com/questions/8328635/fql-photo-query

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