1

使用如下图 api explorer 访问令牌和范围read_streamuser_events它确实返回了我创建的事件。

应用 ID:145634995501895:图形 API 浏览器  
用户名:xxxx:xxxx  
发行:未知  
过期:1361847600(约一个小时)  
有效:真  
产地:未知  
范围:read_stream user_events  

但是当我使用我的应用程序并通过网络浏览器对其进行身份验证时,它不会返回任何事件。

应用编号:xxx:xxxx  
用户编号:xxx:xxxx  
发布:1361843644(大约一分钟前)  
过期: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)'
      }
4

0 回答 0