AJAX call like Facebook -


I want to create a little social network (little test). How can I call periodic AJAX calls like Facebook? I need to update news, status, updates ... How does Facebook do?

You can use and time to call AJAX in Javascript.

Edit:

If there are no changes then you can use a big time first for the next interval. This is sometimes called exponential backoffice.


Comments