FQL查询以获取给定城市中的所有朋友事件

时间:2013-02-07 11:35:49

标签: facebook facebook-fql

我试图限制到纬度/经度范围,但不知道该怎么做 这是我试过的

SELECT name, venue, location, start_time, eid FROM event 
WHERE eid IN (
   SELECT eid FROM event_member 
   WHERE (uid IN (SELECT uid2 FROM friend WHERE uid1 = me())  OR uid = me())
   )
AND start_time > now()
AND venue.latitude  < '-22.821757'
AND venue.latitude  > '-23.056989'

但坐标比较不起作用,因为我正在比较字符串

如果我拿走了我得到的报价:

(#601) Parser error: unexpected '-' at position 233

https://developers.facebook.com/tools/explorer

由于

0 个答案:

没有答案