andersoncooper.js
andersoncooper is a slackbot who allows you to directly post to a twitter account directly from Slack.
Getting Started
Installing
- Create a new Heroku app
- Create Slack app
- Get Slack bot token, as well as Slack admin/god token
- Clone this repo
- Push the code up to your Heroku app
- Add the following config vars to your heroku app
BOT_TOKEN
CLIENT_ID
CLIENT_SECRET
CONSUMER_KEY
CONSUMER_SECRET
TOKEN_SECRET
TWITTER_TOKEN
where:
BOT_TOKEN
is the bot's token from your Slack appCLIENT_ID
is the client id from your Slack appCLIENT_SECRET
is the client secret from your Slack appCONSUMER_KEY
from your twitter appCONSUMER_SECRET
from your twitter appTOKEN_SECRET
from your twitter appTWITTER_TOKEN
from your twitter app
Once you've finished all the prior steps and deployed your bot to your Heroku server, visit http://[YOUR HEROKU APP URL].com/login to authenticate your bot. Once you've completed the authentication process, the bot should be a part of your team. Message the bot "help" to learn more about the bot and how to use it.
Built With
Authors
- Tyler Shambora - tshamz
License
This project is licensed under the MIT License - see the LICENSE file for details