用户表中的名称列不再可索引?

发布于 2024-12-11 20:17:56 字数 525 浏览 2 评论 0原文

我尝试执行下一个 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 there
http://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 技术交流群。

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

发布评论

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

评论(3

夜巴黎 2024-12-18 20:17:56

解决方法是使用 Graph API

$facebook->api("/search?q=".urlencode($name)."&type=user");

A workaround is to use the Graph API

$facebook->api("/search?q=".urlencode($name)."&type=user");
滿滿的愛 2024-12-18 20:17:56

正如@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/

城歌 2024-12-18 20:17:56

这是 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

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