我正在尝试使用Facebook API搜索人员(图谱API或FQL,无论哪个都有效)。 到目前为止,它的工作正常,但我不能按国家或语言进行过滤。
我目前正在检索此网址:
'https://graph.facebook.com/search?q=' . somename . '&type=user&access_token=' . $access_token
我已尝试添加& locale = ...但这也不起作用。
答案 0 :(得分:3)
试试这个:
http://graph.facebook.com/search?q=mccain%20chips&type=post&locale=en_US
答案 1 :(得分:0)
我没有找到根据区域设置进行过滤的方法,但是有一种方法可以让区域设置字段包含用户信息:
https://graph.facebook.com/search?q=NAME&type=user&fields=locale,name&access_token=ACCESS_TOKEN
答案 2 :(得分:0)
https://graph.facebook.com/search?q=SOME_SEARCH&type=user¢er=37.76,122.427&distance=1000
http://graph.facebook.com/search?q=SOME_SEARCH&type=user&locale=en_US
答案 3 :(得分:0)
更复杂的方法之一是从
获取数据www.facebook.com/search/results.php?q=paritosh&type=users&lo=812057
您也可以从此链接获取数据,但需要您登录
http://www.facebook.com/search/ajax/?__a=1&lo=812057&q=paritosh&type=users&__user=1818667565
描述参数:
答案 4 :(得分:0)
Facebooks API似乎无法做到这一点。