FQL--不能'从fql表中获取好友请求

发布于 2024-11-17 06:31:03 字数 202 浏览 2 评论 0原文


我正在尝试使用以下请求从表friend_request获取好友请求,

SELECT uid_from FROM friend_request WHERE uid_to="my uid"

但即使我收到等待确认的好友请求,我也得到空响应

希望有人可以帮助我。

预先感谢!
彼得

i'm trying to get friends request from the table friend_request using the following request

SELECT uid_from FROM friend_request WHERE uid_to="my uid"

but i get an empty response even when i got friend request awainting confirmation

Hope someone can help me.

Thanks in advance!
Peter

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

累赘 2024-11-24 06:31:03

您是否在 FQL 查询测试工具上尝试过该查询?如果确实返回值,但您的应用程序没有返回值,则可能是由于缺乏扩展权限。您首先需要提示用户提供 read_requests 扩展权限。

注意:您还可以使用 where uid_to = me() 来获取当前用户。

Did you try that query on the FQL query tester tool? If that does return values but your application doesn't, then it is probably due to lack of extended permissions. You would first need to prompt the user for read_requests extended permissions.

Note: you can also use where uid_to = me() to get the current user.

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