autotweet
v1.1.0
Published
A Twitter bot for scheduling tweets
Downloads
3
Readme
AutoTweet
AutoTweet is a Twitter bot that helps with tweeting at a scheduled time.
consumer_key: '65EmpGTOKXXkjHR9tI5Jiio01',
consumer_secret: 'FZ0lYU5dUJA4YTuqPtZ4q5NfXLbXFuz4E9xgA49ij6Tc8YAcol',
access_token: '2963547257-9N7VF9O9gLjQQTtJhRVjk8chJQivg0zTMV2dy9E',
access_token_secret: 'QMnRuSd0zbh3HbZ09wcVUohOEAol5W6HrABPyNF0gf0fY'
Change the hash values to those provided to you by the Twitter app.
var tweet = ['12:22 AM'];
cycle: '12:22:00'
Deploying to Heroku
If you want the script to be running continuosly you have to move it to a server.
Provided you have an Heroku account and Heroku CLI installed on your machine you can easily deploy AutoTweet to heroku.
Now that you've pushed the project to heroku there's one more thing to check.
Go to your heroku dashboard and click on your app name. You will see some set of tabs, click on Overview
then go to
configure dynos. You will have two options -- Web and Worker
. The web part means that the app is a web service but our app is
a bot so turn off the web and turn ON
the worker instead. Your bot won't work without completing this process.
The final process must look like this:
Congratulations, you did it!
You can get in touch with me via my twitter handle @adetona77