Facebook 更新流
我了解实时 API,但我不相信它可以访问我的新闻源(还?) https://graph.facebook.com/me/home?access_token(搜索“新闻喂养”)。我只想查看我在 Facebook 网站上看到的所有消息。
我想我可以轮询(不需要的?)这个提要来访问数据。就像 tweetdeck 每分钟所做的那样。但我想知道这是否真的有必要访问这些数据?我担心这是唯一的选择,否则如果你问我的话,tweetdeck 不会进行这种过度的轮询。
I know about the real-time API, but I don't believe it has access to my news feed (yet?)
https://graph.facebook.com/me/home?access_token (search for "News feed"). I just want to view all the messages to me just I would see on the facebook site.
I guess I could poll(undesired?) this feed to get access to the data. Just like tweetdeck does every minute. but I am wondering if this is really necessary to access this data? I am affraid that is the only option because otherwise tweetdeck would not do this excessive polling if you ask me.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是的,新闻提要仍然不实时更新方法支持
订阅
:您最好的选择是获得
offline_access
权限并轮询 Facebook 的服务器,但这样做时我会非常谨慎!Yes, news feed still not yet supported by the real-time updates method
subscription
:I suppose your best bet is to get the
offline_access
permission and polling Facebook's servers, but I would be very cautious when doing so!我认为您正在寻找的是这样的: https://graph.facebook.com/me/feed 但您只能使用已被授予权限
read_stream
的访问令牌?access_token=
来查询它。在应用程序执行此操作之前,总是会询问您。
您可以在此处查看所有不同的权限类型:developers.facebook.com/docs/authentication/permissions 以及当前授予的权限:www.facebook.com/settings/?tab=applications
-michael
I think what you are looking for is this: https://graph.facebook.com/me/feed but you can only query it using an access token
?access_token=
that has been granted with the permissionread_stream
.You will allways be asked before an application can do that.
You can see all the different permission types here: developers.facebook.com/docs/authentication/permissions and currently granted permissions here: www.facebook.com/settings/?tab=applications
-michael