Quick experiment of direct streaming from twitter to the browser, with no polling, using Node.js and Socket.IO.
(Based on Andre Goncalves’ (@andregoncalves) websocket example, which is in turn based on to Ruben Fonseca’s version with Ruby and AMQP).
- Node.js.
- Download and install node.js (instructions here).
- Download the project from github.
- Start the server:
node server.js <twitter_username> <twitter_password> <optional_keyword>
. - Open http://localhost:8080.
Eric Dennis (Blog, @ericdennis)