twitter-streamer

0.2.0 • Public • Published
var config = require('./config.json');

var incoming = new Incoming({
  callback_url: "http://localhost:3000/callback",
  consumer_key: config.consumer_key,
  consumer_secret: config.consumer_secret
});


var index = incoming.open({
  access_token: config.access_token,
  access_token_secret: config.access_token_secret,
  callback: function(tweet) {
    console.log('tweet');
  },
  parameters: {
    track: config.track
  }
});

incoming.close(index);

Dependencies (4)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i twitter-streamer

    Weekly Downloads

    0

    Version

    0.2.0

    License

    MIT

    Last publish

    Collaborators

    • jstackhouse