FQL--不能'从fql表中获取好友请求
我正在尝试使用以下请求从表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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否在 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.