5

我在任何地方都找不到根据我指定的位置列出我的 facebook 朋友的 fql 查询。我正在尝试在 android 中实现这个 fql 查询。有人请帮助我。

4

1 回答 1

3

您正在寻找的 FQL 将是

select name, current_location
from user 
where uid in (select uid2 from friend where uid1 = me()) 
  and current_location.country = "India" 
  and current_location.state ="Delhi"

上面的 FQL 过滤掉了用户的好友,并返回了用户好友列表,名称current_location为印度德里。您可以根据current_locationlike cityziplatitude等其他属性进一步过滤列表longitude

您需要额外的权限才能从用户FQL 表friends_location中访问该位置。

于 2013-07-18T07:52:13.670 回答