Skip to content

andregoncalves/twitter-nodejs-websocket

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

Twitter Node.js WebSockets Example

Quick experiment of direct streaming from twitter to the browser, with no polling, using Node.js.
(Follow up to Ruben Fonseca version with Ruby and AMQP)

More info here.

Requirements:

  • Node.js.
  • HTML5 WebSockets capable browser.

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 index.html with a WebSocket compatible browser (Chrome or Webkit nightly).

Libraries used:

Andre Goncalves (@andregoncalves)

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published