how does the wall on facebook refreshes

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
jd6th
Forum Newbie
Posts: 7
Joined: Fri Dec 11, 2009 1:50 am

how does the wall on facebook refreshes

Post by jd6th »

how does the wall on facebook refreshes when someone on your network updated something? can it be done on php?
User avatar
Darhazer
DevNet Resident
Posts: 1011
Joined: Thu May 14, 2009 3:00 pm
Location: HellCity, Bulgaria

Re: how does the wall on facebook refreshes

Post by Darhazer »

It is combination between server side and client side technologies, basically AJAX (actually with long pulling)
Depending on how 'real time' you want updates to be, it can be accomplished with PHP and AJAX. If you want to do it really like facebook, you might be interested in Tornado web server
Post Reply