FQL 查询返回空。
我在https://developers.facebook.com/tools/explorer中运行以下 FQL :
SELECT uid, name, username, birthday_date, current_location, online_presence FROM user WHERE relationship_status ='Single' AND uid IN (SELECT uid2 FROM friend WHERE uid1 = me()) LIMIT 30 OFFSET 0
她成功地回报了我所有单身的朋友。
但是,当我运行 PHP 时,没有返回任何内容:
$fql = "SELECT uid, name, username, birthday_date, current_location, online_presence FROM user WHERE relationship_status ='Single' AND uid IN (SELECT uid2 FROM friend WHERE uid1 = me()) LIMIT 30 OFFSET 0";
$solteiros = $facebook->api(array(
'method' => 'fql.query',
'access_token' => $userAccessToken,
'query' => $fql,
));
直到昨天它工作正常。今天我测试时,它发生了。