0

Facebook sends real time updates to the app when one of the app's users changes the fields the app is subscribed to.

https://developers.facebook.com/docs/graph-api/real-time-updates/v2.2

My question is how soon will Facebook be sending the update? Immediately after the change has occured? 5 seconds? Or will Facebook be waiting for a specific number of changes to occur and send them all together?

  • I doubt there's any delay but rather a queue. – Simon Hayter Apr 26 '15 at 10:39
  • I can't answer your question, but I noticed that the documentation you posted a link to only applies to an outdated API. – William Edwards Apr 27 '15 at 13:30
  • 1
    @WilliamD.Edwards The new api documentation is also the same. developers.facebook.com/docs/graph-api/real-time-updates/v2.3 – Rana Prathap Apr 27 '15 at 18:44
  • @bybe I have been using the api since the last two days, and it looks like you were right. There is no delay. It usually happens in under two minutes. So probably there is only a queue. Can you put that in the answer box so that I can accept it? – Rana Prathap Apr 29 '15 at 5:27
1

Facebook does not delay notifications rather it queues them. All real time updates are added to a queue to be processed and sent in turn by the servers Facebook uses to send real time updates to apps. The queue is there to ensure all updates are sent. Depending on the load Facebook is under at the time it could be anywhere from a few seconds to several minutes but given the size of Facebook and their global infrastructure it is unlikely that delays would get much more than a few minutes as they would have the ability to spin up new servers to help process the queue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.