我无法在任何地方找到一个 fql 查询来根据我指定的位置列出我的 facebook 好友。我正在尝试在 android 中实现这个 fql 查询。有人请帮助我。
最佳答案
您正在寻找的 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_location
的其他属性进一步过滤列表,例如 city
、zip
、latitude
、经度
等。
您需要额外的 friends_location
权限才能从 User 访问该位置FQL 表。
关于android - 如何编写 fql 查询以列出特定位置的 friend ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17716009/