有没有办法让您自己的服务器实时更新有关 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/