This is a simple node.js app that polls your meetup.com group and follows any of your members with a Twitter account from your Twitter account. The app contains the files necessary to run this on Heroku as well as locally.
- Clone this repo and install dependencies with
npm install
- Register your app with Twitter.com
- Get a meetup.com API key
- Set the environment variables. See the env.sh file for the environment variables that need to be set. You can run this script once edited to set the variables.
After setting the environment variables...
$ node app.js -p 60
The -p
flag specifies the polling interval in minutes.
- Edit the heroku.sh file and enter the proper credentials and information for meetup.com and twitter
- Create your node.js app on Heroku using the cedar stack
- Run the heroku.sh bash script
- Deploy and scale up the bot process