Get real time updates from Facebook Groups?
Is there a way to get updates in real time to your own server about posts to a Facebook group? I'm 开发者_如何学Gotrying to build a service that lets users get SMS messages with any messages that were sent to the group. Is this at all possible now? Without polling?
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.
Read this link https://developers.facebook.com/docs/reference/api/realtime/ for more infos.
Try the facebook real time updates, it's a bit tricky to implement, but with the examples provided you should be fine
http://developers.facebook.com/docs/api/realtime/
You can now subscribe to comments
, membership
, and posts
, but only for Workplace: https://developers.facebook.com/docs/graph-api/webhooks/reference/group/
精彩评论