为什么此 Facebook FQL 查询返回空?
以下 FQL 查询返回空。没有理由不这样做,因为 FQL 文档本身已经尽可能清楚地记录了它。
SELECT eid, uid, rsvp_status FROM event_member WHERE (uid = me() OR uid IN(SELECT uid2 FROMfriend WHERE uid1 = me())) LIMIT 10
此应该返回我或我的朋友受邀参加的任何活动的前 10 行。
如果我包含特定事件 ID 的条件,我就会得到结果。
(我使用 FB.Data.query()
与 query.wait
结合使用来执行查询。)
其他人可以复制这个问题,或者知道我是什么吗?我做错了吗?
The following FQL query is returning empty. There's no reason for it not to, as its quite clearly documented as possible in the FQL Documentation itself.
SELECT eid, uid, rsvp_status FROM event_member WHERE (uid = me() OR uid IN(SELECT uid2 FROM friend WHERE uid1 = me())) LIMIT 10
This should return the first 10 rows of any events that I, or my friends have been invited to.
If I include a condition for a specific event's ID, then I get the result.
(I am using FB.Data.query()
to perform the query, in conjunction with query.wait
.)
Can anyone else replicate this issue, or know what I'm doing wrong?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您好,这是因为您尚未参加
user_events
和friends_events
您可以像这样获取权限。
如需进一步了解,您可以阅读管理权限。
hi this because of the fact that you have not taken the
user_events
andfriends_events
You can take permission like this
For Further You can read Manage Permissions.