Tweet Collector
Simple periodic tweet collector.
npm install --save tweet-collector
var TweetCollector = ;var tweetCollector = twitterCredentials batch_size: 100 interval: 10 // seconds search_params: q: 'comma,separated,keywords' ;tweetCollectorstart;tweetCollector;
API
TweetCollector(twitterCredentials, settings)
Instantiate a TweetCollector.
Example:
var tweetCollector = twitterCredentials settings;
search_params
See Twitter API Docs.
tweetCollector.start(searchParams)
Start tweet collector.
tweetCollector.stop()
Stop tweet collector.
tweetCollector.on('fetch', onTweetFetch)
tweetCollector;