Swear Trek Slack Slash Command
Do you really need installation instructions? Because
-
Create a Tumblr OAuth application
- Log into your Tumblr account (or make one)
- Register an OAuth application
- Default callback URL doesn't really matter for this (you can use
http://localhost
if you want, but don't blame me if that's against the TOS)
- Take note of the
OAuth Consumer Key
- You don't need the consumer/secret key or anything else
-
PRESS THE PURPLE BUTTON, enter key you got from Tumblr, and take note of the name of the Heroku app
-
Add a slash command to your Slack workspace using the following settings:
- Command:
/sweartrek
probably makes sense - URL:
https://HEROKU_APP_NAME.herokuapp.com/slack
- Remember how you noted the name of your Heroku app above?
- Method:
POST
- Not
GET
.GET
won't work.
- Not
- Other options: none of the other options matter (as of now), so customize to your heart's desire
- Command:
-
Type
/sweartrek
(or the alternate command alias you picked) in Slack and enjoy
Seriously though, if you have a cool idea, make a pull request. If you're not sure where to start, open an issue with your idea and questions, and I'll do my best to help you out!
If you figured out the above steps, you can probably figure out how to get the Heroku logs. File an issue, and I (or another kind person) might help you out when there's time.