【问题标题】:How to query facebook friends by city in FQL如何在 FQL 中按城市查询 facebook 好友
【发布时间】:2012-03-22 02:36:57
【问题描述】:

由于在 FQL 中,current_location 具有城市 如何按城市查询好友?

例如, select uid,name,pic_small,current_location from user where uid in (select uid2 from friend where uid1 = me()) and current_location.city='Sunnyvale'

(高于 FQL 不起作用)

这里有人知道正确的做法吗?

干杯

【问题讨论】:

  • 你不能......你必须循环你的数据

标签: facebook api


【解决方案1】:
SELECT current_location, name FROM user WHERE uid in (SELECT uid2 FROM friend WHERE uid1=me()) and "New York" in current_location

您可能必须创建一个变量才能按城市对其进行过滤。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-02-24
    • 1970-01-01
    • 2013-04-21
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多