Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript How do facebook catch new chatmessages?

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #45147
    Nomic
    Member

    Hi guys.

    I’m currently on a new project where i’m building a forum – and chatsystem. When i go and look into facebooks networktab in google chrome it dosen’t send ajax request all the time. It only requests when there is a new message and I was wondering if you guys could help me doing the same?

    Thank you :D

    #137381
    CrocoDillon
    Participant

    I’m guessing they use http://caniuse.com/#feat=eventsource , with a fallback since browser support isn’t that good.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.