FQL Photo Query

2019-08-09 14:33发布

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条回答
疯言疯语
2楼-- · 2019-08-09 15:23

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.

查看更多
登录 后发表回答