Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 1.02 KB

File metadata and controls

22 lines (14 loc) · 1.02 KB

Twitter Node.js Socket.IO Example

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).

Requirements:

  • Node.js.

How To:

  • 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.

Libraries used:

Eric Dennis (Blog, @ericdennis)