Dennis Ritchie
Dennis Ritchie

Reputation: 640

Is it possbile to know whether a user updated status or not in facebook

Say I have 10k users for my app. Now, I would like to know whether a particular person updated a status message!

How does Facebook provide such calls and whats the best way to update the databases (they store keywords for public status messages)

Upvotes: 0

Views: 43

Answers (1)

Oswald
Oswald

Reputation: 31685

Subscribe to Facebook Real-time Updates by sending a POST request to https://graph.facebook.com/<app-id>/subscriptions with a parameter object that has the value user and a parameter fields that has the value statuses.

You will also need to provide

  • a callback_url on which facebook will perform a GET request to verify the subscription and POST requests for the actual updates and
  • an opaque verify_token that will be echoed to your callback_url to verify the subscription,

Upvotes: 3

Related Questions