javascript - tweeting from node.js "Timestamp out of bounds" -


i've been trying work twitter streaming api node.js , tried make simple test program logs tweets.

console.log("start");    var twitter = require('twitter');    var client = new twitter({    consumer_key: '****',    consumer_secret: '****',    access_token_key: '****',    access_token_secret: '****'  });    console.log("middle");    client.stream('statuses/filter', {track: "coffee"}, function(stream) {          stream.on('data', function(tweet) {              console.log(tweet);              console.log("this won't show up.");          });  		console.log("this will.");  });    console.log("end");

when run "node twitter.js" logs start,middle,this will,end. why client not streaming in data?


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -