Fixed the logging when tweets go out

This commit is contained in:
thewesker
2016-06-18 03:24:25 -04:00
parent 6cd966bc15
commit 3b5c6ad50a

2
app.js
View File

@@ -14,7 +14,7 @@ var T = new Twit({
// filter the public stream by english tweets containing `#apple`
//
var stream = T.stream('statuses/filter', { follow: '25073877, 1339835893, 216776631, 179932936, 1214598626' })
var stream = T.stream('statuses/filter', { follow: '25073877, 1339835893, 216776631, 179932936' })
stream.on('tweet', function (tweet) {
if (tweet.user.screen_name === 'realDonaldTrump') {
var b64content = fs.readFileSync('./pics/trump.gif', { encoding: 'base64' })