FQL - 查询照片表返回空集
我在从照片表中检索任何数据时遇到问题。
我已经能够成功查询相册和用户表,但是当我查询照片时,它返回一个空集。 的查询:
SELECT pid FROM photo WHERE owner=ownerID
我的应用程序当前具有以下权限:
- read_streamoffline_accesspublish_streamuser_photosuser_status
- 是
- 这
- 我一直在使用
- 有什么想法
吗?提前致谢。
I'm having a problem retrieving any data from the photo table.
I have been able to query the album and user tables successfully, but when I query photo, it returns an empty set. This is the query I have been using:
SELECT pid FROM photo WHERE owner=ownerID
My application currently has the following permissions:
- read_stream
- offline_access
- publish_stream
- user_photos
- user_status
Any ideas? Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好吧,我从来没有让这个查询工作过,但我确实设法通过查询这个表获得某种结果。
当我使用 Graph API 发布到“me/photos”来上传照片后,收到的响应是刚刚发布的照片的“object_id”。因此,我创建了以下查询:
如果我获得该照片的所有者,它与我在上一个查询中使用的照片相同,但我仍然不知道为什么它不起作用。但至少我可以用这个新的东西来实现我需要做的事情。
Well, I never got this query to work but I did manage to get some sort of result from querying this table.
After I upload a photo by posting to "me/photos" using the Graph API the response received is the "object_id" for the photo that has just been posted. So I created the following query:
If I get the owner for that photo, it's the same one I had been using in my previous query and I still have no idea why it's not working. But at least I can achieve what I need to do with this new one.