即使列是可索引的,FQL也会给出NoIndexFunctionException

时间:2013-11-14 11:36:10

标签: android facebook facebook-graph-api facebook-fql

我正在使用Facebook SDK中提供的LoginButton在我的应用中执行用户登录,之后我使用以下FQL检索所有在其关键字中包含Sherlock的网页。

SELECT page_id FROM page WHERE  keywords = 'Sherlock'

但如果给我以下异常

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 

即使keywords列可转换为show on https://developers.facebook.com/docs/reference/fql/page

有谁能告诉我我做错了什么?

1 个答案:

答案 0 :(得分:1)

根据这个:Facebook bug report

这是一个“已分配”的错误。 所以你没有做错什么,只是没有更新Fql文档。

如果您尝试:Graph Api exemple 您可以看到我将“关键字”添加为字段但没有响应。

我认为页面表上的“关键字”已经结束了。