0
我收到以下FQL查询FQL返回空值
$fql="SELECT uid, page_id from page_fan where uid=me()";
$user_frnd = $facebook->api("/fql?q = " . urlencode($fql));
请告诉我问题NULL结果呢?
我收到以下FQL查询FQL返回空值
$fql="SELECT uid, page_id from page_fan where uid=me()";
$user_frnd = $facebook->api("/fql?q = " . urlencode($fql));
请告诉我问题NULL结果呢?
尝试使用:
$params = array(
'method' => 'fql.query',
'query' => "SELECT uid, page_id from page_fan where uid=me()",
);
//Run Query
$JSON = $facebook->api($params);
http://stackoverflow.com/questions/13581179/dataexception-101-invalid-api-key –
你有user_likes权限?你有没有试过通过https://developers.facebook.com/tools/explorer运行它? – TommyBs
是的。该查询在浏览器上正常工作,我也拥有所有的权限 –