Skip to content

Instantly share code, notes, and snippets.

@AndrewTheTM
Created January 23, 2018 13:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AndrewTheTM/f8f2087e521af1045c85b1e35828eae3 to your computer and use it in GitHub Desktop.
Save AndrewTheTM/f8f2087e521af1045c85b1e35828eae3 to your computer and use it in GitHub Desktop.
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