【发布时间】:2012-08-28 20:45:05
【问题描述】:
我需要接收给定范围内的 facebook 位置列表(由 NE 和 WS 坐标定义)
我从 javascript 应用程序调用以下 fql.query:
FB.api({
method: "fql.query",
query: "SELECT name,description,geometry,latitude,longitude,checkin_count,display_subtext FROM place WHERE latitude < '" + bounds.getNorthEast().lat() + "' and longitude < '" + bounds.getNorthEast().lng() + "' and latitude > '" + bounds.getSouthWest().lat() + "' and longitude > '" + bounds.getSouthWest().lng() +"'"
},
function(response) {
///
}
但我收到错误 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
据我所知,place 表http://developers.facebook.com/docs/reference/fql/place/ 中唯一的索引列是page_id。但我认为没有办法从其他表中获取此page_id。
是否有任何(可能更简单)的方式来接收给定范围内的 facebook 位置?
【问题讨论】:
标签: javascript facebook facebook-fql