基于姓名和位置搜索用户Facebook Graph API, FQL


Search users on the basis of name and location Facebook Graph API, FQL

这就是我想要实现的,我有一个facebook应用程序,它利用了搜索api示例- https://graph.facebook.com/search?q=mark&type=user

使用,我能够搜索用户与他们的电子邮件或名称或位置,我还想做的是搜索名称和位置的组合,我也尝试了fql,但也没有提供所需的结果。

是否有一种方法使用FAcebook API来搜索使用多个标准的人

你可以试试这个

$user_friends1  = file_get_contents('https://graph.facebook.com/'.$uid.'/friends?fields=id,name,birthday&access_token='.$access_token);
$user_friends = json_decode($user_friends1,1);

现在你可以从$user_friends array

中找到你想要的