I have a callback.php file that gets called by facebook and the update is stored in $updates. I want to display the contents of $updates on the webpage every time $updates changes. How can i do this? I have heard about Comet and Ajax..
what is the best way to go about doing this?
I have a callback.php file that gets called by facebook and the update is
Share
Easy: JS setinterval, poll server for updates every x seconds. Harder: HTML5 Websockets (not that hard when you get into it though).