News for hackers. Stuff that matters.
Re:Couldn't sleep. Wrote some code to display live feed of c... by ssn on Thursday July 16, 2009 @06:00AM (#707602)
Hey.. we are hackers, were are the technical details? Language, hosting, APIs, architecture...

PS: Thanks for sharing.

Re:Couldn't sleep. Wrote some code to display live feed of c... by aaroneous on Thursday July 16, 2009 @03:23PM (#708577)
Cron'd Python script polls the Twitter API grabbing any new tweets and caches them to a file on a shared server.

Ajax periodically polls a PHP script that reads the cached tweets looking for ones that are new to that particular client, and if there isn't anything new it displays tweets from the history.

The page itself is really simple, mostly just some JS and Mootools.

Lemme know if I'm leaving anything out...