FQL图片查询 [英] FQL Photo Query

查看:81
本文介绍了FQL图片查询的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用以下查询通过FQL查询照片表:

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

SELECT owner FROM photo WHERE pid="XXXX"

由于某种原因,无论我选择什么pid,我都会得到一个空的set响应:

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

Facebook回复了HTTP状态代码200和响应正文:[]

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

我正在使用RestFB.

I am using RestFB.

推荐答案

您是否有权访问用户的照片?

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

图形FQL https://developers.facebook.com/docs/reference/fql/带有示例查询.

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

这篇关于FQL图片查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆