Skip to content

Twitter streaming directly to browser with Node.js and HTML5 websockets

Notifications You must be signed in to change notification settings

rishav/twitter-nodejs-websocket

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Twitter streaming directly to browser with Node.js and HTML5 websockets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%