Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does facebook use comet or long polling for getting new stream and messages?

I would like to know if there are any code references that I can follow to write a very simple example. Many posts or websites just talk about the technology.

like image 333
Mark K. Avatar asked Mar 06 '12 07:03

Mark K.


1 Answers

Yes "it's a variation of Comet, specifically XHR long polling, and/or BOSH."

reference site:

https://www.facebook.com/note.php?note_id=14218138919

like image 68
GianFS Avatar answered Oct 20 '22 01:10

GianFS