Twitter streaming directly to browser with Node.js and HTML5 websockets
Switch branches/tags
Nothing to show
Pull request Compare This branch is even with rishav:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
npm-13573
vendor
.gitignore
README.textile
index.html
json.js
server.js
twitter.html

README.textile

Twitter Node.js WebSocket Example

Quick experiment of direct streaming from twitter to the browser, with no polling, using Node.js.
Follow up to http://github.com/andregoncalves/twitter-nodejs-websocket, using Socket.io and twitter-node

Blog post by andre – here. ) ( This explains the basics of what I have tried to do.)

Requirements:

  • Node.js.
  • HTML5 WebSocket capable browser.

How To:

  • Download and install node.js (instructions here).
  • Download the project from github.
  • Download and install npm and install “twitter-node” and “socket.io”
  • Start the server: node server.js <twitter_username> <twitter_password> <optional_keyword>.
  • Open index.html with a WebSocket compatible browser (Chrome or Webkit nightly).