0

我得到以下 FQL 查询的 NULL 结果

$fql="SELECT uid, page_id from page_fan where uid=me()";
$user_frnd = $facebook->api("/fql?q = " . urlencode($fql));

有什么问题?

4

1 回答 1

0

尝试使用:

$params = array(
'method' => 'fql.query',
'query' => "SELECT uid, page_id from page_fan where uid=me()",
);

//Run Query
$JSON = $facebook->api($params);
于 2012-12-11T10:02:22.673 回答