Skip to content

Commit

Permalink
Prueba de verificacion de credenciales
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricardo Lanziano committed Jan 24, 2012
1 parent 83be4fe commit 9485ebf
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions app.js
Expand Up @@ -44,6 +44,17 @@ app.configure('production', function(){

app.get('/', routes.index);

twit.verifyCredentials(function(err, data) {
if(err) throw new Error(err);
console.log(data);
});

twit.stream('user', { track: "Iran" }, function(stream) {
stream.on('data', function(data) {
console.log(data);
});
});

// Wrap socket.io in app

io.listen(app);
Expand Down

0 comments on commit 9485ebf

Please sign in to comment.