facebook - 从 Facebook 群组获取实时更新?

标签 facebook facebook-graph-api facebook-group

有没有办法让您自己的服务器实时更新有关 Facebook 群组的帖子?我正在尝试构建一项服务,让用户可以通过发送到群组的任何消息获取 SMS 消息。现在这完全可能吗?没有轮询?

最佳答案

You can currently subscribe to updates for these types of objects:

user – Get notifications about particular fields and connections corresponding to user nodes in the Graph API. permissions – Get notifications when your users change the permissions they afford your applications. The fields are like those in the corresponding FQL table. page - Get notifications when pages that have installed your application change their public properties. Note that the page topic is only used for subscribing to changes to public attributes of the page (like name, category, picture etc). This is the same information that is returned by the graph api call https://graph.facebook.com/. You can subscribe to the page's feed in the same way you subscribe to a user's feed - the subscription topic should be 'user' and the subscription field should be 'feed' Note: Not all properties and connections of the user object can be subscribed to.

阅读此链接 https://developers.facebook.com/docs/reference/api/realtime/了解更多信息。

关于facebook - 从 Facebook 群组获取实时更新?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5451911/

相关文章:

facebook - 使用 facebook-node-sdk 模块上传照片/(#324) 需要上传文件

facebook - 存储 Facebook 数据

android - 从 Android Facebook 应用注销时出错

facebook graph api 检查用户是否是使用 PHP 的组的成员

facebook - 如何获取群组墙上单个帖子的链接?

iphone - iOS-发布到Facebook ...图标是这个吗?

android - Facebook 登录不适用于移动设备(但适用于台式机)

facebook - 使用标识符或 url 获取 Facebook 组 ID

c# - 提示用户许可 - facebook 开发人员工具包

android - Facebook Android SDK 未返回所有个人资料信息