无法使用 FQL 检索标记的照片信息
我很难运行此 FQL 查询。
SELECT pid, src_big FROM photo WHERE pid
IN (SELECT pid FROM photo_tag WHERE subject=me())
photo_tag 表返回一个比通常的照片 pid 长得多的字符串 pid。
内部 SELECT 语句返回正确数量的标记照片。不过,我想获得有关这些照片的更多信息。有什么想法吗?
I'm having a hard time running this FQL query.
SELECT pid, src_big FROM photo WHERE pid
IN (SELECT pid FROM photo_tag WHERE subject=me())
The photo_tag table returns a pid that is a much longer string than the usual photo pid.
The inner SELECT statement returns the right number of tagged photos. However, I'd like to get more info on those photos. Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要哪些信息?如果您想了解更多信息,以下是您可以从照片表中获取的完整数据列表:
http://developers.facebook.com/docs/reference/fql/photo/
关于 pid:是的,那不是“真实的”照片 ID。我认为你必须选择“object_id”列作为真实ID。
“pid 仅对于给定用户而言是唯一的。” - 所以我猜你无论如何都无法真正使用它。
只需包含我的链接中您需要的那些列,如下所示:
which info do you need? if you want more infos, here is the full list of data you can get from the photo table:
http://developers.facebook.com/docs/reference/fql/photo/
about the pid: yes, that is not the "real" photo id. i think you have to select the column "object_id" for the real id.
"The pid is unique only for a given user." - so you cannot really work with it anyway, i guess.
just include those columns from my link you need, like this: