0.3.0 • Published 12 years ago

twitter-stream v0.3.0

Weekly downloads
15
License
-
Repository
github
Last release
12 years ago

Twitter Streaming API Library for Node.js

Install

Install into current directory

npm install twitter-stream

Install into system wide location

sudo npm install -g twitter-stream

Example

var ts = require('twitter-stream');

//Connecting to Twitter Streaming API
var stream = ts.connect({
  screen_name: '',
  password: '',
  action: 'sample',
});

//Retrieving status one by one
stream.on('status', function(status) {
  console.log(status);
});

//Handling error
stream.on('error', function(error) function{
  console.error(error);
});

//Aborting the stream
stream.abort();
0.3.0

12 years ago

0.2.0

12 years ago

0.1.0

12 years ago