为什么此 Facebook FQL 查询返回空?

发布于 2024-12-06 16:16:46 字数 400 浏览 1 评论 0原文

以下 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

始终不够爱げ你 2024-12-13 16:16:46

您好,这是因为您尚未参加 user_eventsfriends_events
您可以像这样获取权限。

<fb:login-button perms="friends_events,user_events" autologoutlink="true"></fb:login-button>

如需进一步了解,您可以阅读管理权限

hi this because of the fact that you have not taken the user_events and friends_events
You can take permission like this

<fb:login-button perms="friends_events,user_events" autologoutlink="true"></fb:login-button>

For Further You can read Manage Permissions.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文