我收到以下FQL查询的NULL结果
$fql="SELECT uid, page_id from page_fan where uid=me()";
$user_frnd = $facebook->api("/fql?q = " . urlencode($fql));
问题是什么?
答案 0 :(得分:0)
尝试使用:
$params = array(
'method' => 'fql.query',
'query' => "SELECT uid, page_id from page_fan where uid=me()",
);
//Run Query
$JSON = $facebook->api($params);