我使用了FQL查询:
SELECT uid FROM page_fan WHERE page_id = <page_id>它返回这个错误:
{
"error": {
"message": "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 ",
"type": "NoIndexFunctionException",
"code": 604
}
}在这个网站上:http://developers.facebook.com/docs/reference/fql/page_fan我使用的所有列都被索引了。
我做错了什么?
发布于 2013-12-19 05:27:33
您不能再获得喜欢使用FQL的页面的用户列表。这是通过设计实现的。
如果您查看fql/page_fan的引用,您可以看到uid是唯一一个完全索引的列,而其他索引的列只有部分索引。这意味着您需要将uid与其他部分索引列一起使用。
SELECT uid FROM page_fan WHERE uid = A AND page_id = B ,而这将不会
SELECT uid FROM page_fan WHERE uid = A另请参阅"Querying Users who 'like' my Facebook Page",它处理您正在尝试做的事情。
https://stackoverflow.com/questions/13758517
复制相似问题