DNE Digital twitter bot
Pre-Requisites:
- Make sure that you have NodeJS install
- Run 'node -v' in your terminal and make sure you have a recent version
- Run 'npm -v' in your terminal and make sure you have a recent version
Running the bot:
-
Clone or download this repo
-
In the command line cd to the repo
-
Run the command 'npm install' to make sure you packages are downloaded
-
Create a config.js file that looks a little something like this but with your values instead of XXX var config = { consumer_key: 'XXXX', consumer_secret: 'XXXX', access_token: 'XXXX-XXX', access_token_secret: 'XXXX' }
module.exports = config;
-
Inside the repo simply run 'node server.js'
-
Check www.twitter.com/dnedigital to confirm the tweet went through (You can also check your terminal for the log of the successful tweet - or fail lol)