以下のようにグラフ API エクスプローラー アクセス トークンをスコープと共に使用するとread_stream
、user_events
作成したイベントが返されます。
アプリ ID: 145634995501895 : グラフ API エクスプローラー ユーザーID: xxxx: xxxx 発行:不明 有効期限: 1361847600 (約 1 時間) 有効: 真 起源: 不明 スコープ: read_stream user_events
しかし、アプリを使用して Web ブラウザーで認証すると、イベントが返されません。
アプリ ID: xxx: xxxx ユーザーID:xxx:xxxx 発行:1361843644(約1分前) 有効期限: 1367027644 (約 2 か月後) 有効: 真 起源: ウェブ スコープ: manage_pages read_friendlists read_stream user_events user_questions
これが私のfqlです:
fql?q={'posts':'SELECT post_id,target_id,actor_id,tagged_ids,with_tags, message,description,attachment, likes, comments,type, updated_time, created_time, action_links, attribution FROM stream WHERE source_id=me() order by updated_time desc LIMIT 25',
'options':'SELECT id, question_id, votes,name FROM question_option where question_id in (SELECT attachment.fb_object_id FROM #posts)',
'voters':'SELECT option_id, voter_id FROM question_option_votes WHERE option_id IN (SELECT id FROM #options)',
'question':'SELECT id, owner, question FROM question WHERE id in (SELECT attachment.fb_object_id FROM #posts)',
'profile':'SELECT id, pic_square, type, name, username, url FROM profile WHERE id IN (SELECT target_id,actor_id,tagged_ids,with_tags,comments.comment_list.fromid FROM #posts) OR id in (SELECT voter_id FROM #voters)'
}