tweettracker
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -1,13 +0,12 @@ | ||
(async () => { | ||
var bearer_token = "YOUR TWITTER API BEARER TOKEN"; | ||
var bearer_token = "YOUR TWITTER API BEARER TOKEN"; | ||
var tweettracker = TweetTracker(bearer_token); | ||
var tweettracker = TweetTracker(bearer_token); | ||
var tracker = tweettracker.track("jack" /*USERNAME*/, { | ||
interval: 5000, // defaults to 10 seconds. | ||
emitLatest: true, // emit the latest tweet when the stream starts | ||
}); | ||
tracker.on("tweet", function (tweet) { | ||
console.log(tweet); // log the tweet to the console | ||
/* | ||
var tracker = tweettracker.track("jack" /*USERNAME*/, { | ||
interval: 5000, // defaults to 10 seconds. | ||
emitLatest: true, // emit the latest tweet when the stream starts | ||
}); | ||
tracker.on("tweet", function (tweet) { | ||
console.log(tweet); // log the tweet to the console | ||
/* | ||
tweet schema: | ||
@@ -23,3 +22,2 @@ { | ||
*/ | ||
}); | ||
})(); | ||
}); |
{ | ||
"name": "tweettracker", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Tracks a users tweets using the twitter API and outputs every time they tweet", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
4664
5
1
63
87