Skip to content

jaypozo/twitterlisten

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

twitterlisten

Listen to Twitter for keywords.

Install

npm install twitterlisten

Configure

Create auth_data.json and add your data from Twitter. https://dev.twitter.com/apps

Here's a sample:

{
  "consumer_key":"your_consumer_key_goes_here",
  "consumer_secret":"your_consumer_secret_goes_here",
  "access_token":"your_access_token_goes_here",
  "access_token_secret":"your_access_token_secret_goes_here"
}

Usage

var twitter_listen = new TwitterListen(['#awesome','@someguy','#yoloyolo']);
twitter_listen.on('tweet', function(event_data){
  console.log(event_data);
});

About

Listen to Twitter for keywords

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published