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.
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