用户表中的名称列不再可索引?
我尝试执行下一个 FQL 查询
SELECT uid FROM user WHERE name='Vovka'
并获取(#604) 您的语句不可索引。 WHERE 子句必须包含可索引列。这些列在 http://developers.facebook.com/docs/ 链接的表中用 * 标记Reference/fql"
但之前这种查询工作得很好,而且有 http://developers.facebook.com/docs/reference/fql/user /
名称列也标记为可索引。
请告诉我我做错了什么?
谢谢,弗拉基米尔。
I trying execute next FQL query
SELECT uid FROM user WHERE name='Vovka'
and getting(#604) Your statement is not indexable. The WHERE clause must contain an indexable column. Such columns are marked with * in the tables linked from http://developers.facebook.com/docs/reference/fql"
but earlier this kind of query worked fine, and therehttp://developers.facebook.com/docs/reference/fql/user/
the name column also marked as indexable.
Tell me please what I'm doing wrong?
Thanks, Volodymyr.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
解决方法是使用 Graph API
A workaround is to use the Graph API
正如@Igy 提到的,这是错误。它于 5 年前以 wontfix 的名称关闭。
https://developers.facebook.com/bugs/403840696324085/
As mentioned by @Igy, this was bug. It closed as wontfix 5 years ago.
https://developers.facebook.com/bugs/403840696324085/
这是 Facebook 错误跟踪器中当前(2010 年 10 月 29 日)公开的错误 - 请参阅 https://developers。 facebook.com/bugs/266794040030851 查看状态
This is a currently (2010-10-29) open bug in Facebook's bug tracker - see https://developers.facebook.com/bugs/266794040030851 for the status