PHP で FQL を使用してページ ストリームの FB をクエリしようとしていますが、インプレッション以外のすべてのデータを取得しています。使用される FB_ACCESS_TOKEN は、FB アプリの OAuth トークンであり、次のスコープを付与しています: offline_access,manage_pages,email,read_insights,sms,publish_stream
コード例:
$this->fb->api(array(
"method" => "fql.multiquery",
"queries" => json_encode(array(
"post" => "SELECT post_id, source_id, updated_time, created_time, actor_id,
message, attachment, impressions, likes, privacy,
permalink, comments
FROM stream WHERE source_id='".$source_id."'
AND created_time > '".$date_updated."'",
"comment" => "SELECT post_id, fromid, time, text, id, likes, object_id
FROM comment WHERE post_id IN (SELECT post_id FROM #post)
AND time> '".$date_updated."'"
)), access_token" => FB_ACCESS_TOKEN
));
出力例を次に示します。
[...]
[0] => Array(
[post_id] => 107112482661088_236459409726394
[source_id] => 107112482661088
[updated_time] => 1312884237
[created_time] => 1312884237
[actor_id] => 608795063
[message] => funker jo ikke detta nå da :( får ikke spilt i det hele tatt :@
[attachment] => Array(
[description] =>
)
[impressions] =>
[likes] => Array(
[href] => http://www.facebook.com/browse/?type=likes&id=236459409726394
[count] => 0
[sample] => Array()
[friends] => Array()
[user_likes] =>
[can_like] =>
)
[privacy] => Array(
[value] =>
)
[permalink] => http://www.facebook.com/hacktheplanet.no/posts/236459409726394
[comments] => Array(
[can_remove] =>
[can_post] =>
[count] => 0
[comment_list] => Array()
)
)
[...]
インプレッション データを取得できない理由や提案はありますか?