4

Is there a way to get updates in real time to your own server about posts to a Facebook group? I'm trying 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?

ekad
  • 14,436
  • 26
  • 44
  • 46
aloo
  • 5,331
  • 7
  • 55
  • 94

3 Answers3

1

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.

notrix911
  • 11
  • 1
0

You can now subscribe to comments, membership, and posts, but only for Workplace: https://developers.facebook.com/docs/graph-api/webhooks/reference/group/

Mingwei Samuel
  • 2,917
  • 1
  • 30
  • 40
0

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/

DannyKK
  • 971
  • 12
  • 16
  • I don't think this API supports groups but can't be 100% certain from the docs. Have you tried this? – aloo Mar 29 '11 at 05:21
  • The groups are equivalent to facebook pages here. I think it's possible, but haven't tried with groups. – DannyKK Apr 05 '11 at 14:46