Created
January 23, 2018 13:34
-
-
Save AndrewTheTM/f8f2087e521af1045c85b1e35828eae3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let tweet = function(){ | |
Twitter.post('statuses/update', { | |
status: 'Random Number: ' + Math.random() | |
}, function(err, data, response){ | |
if(err !== undefined){ | |
console.log('err: ' + err); | |
} | |
}); | |
} | |
tweet(); | |
setInterval(tweet, 600000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment