-
Notifications
You must be signed in to change notification settings - Fork 400
Open
Description
Slack is in progress of deprecating RTM protocol in favor of events (which require the bot to roll a whole http server).
To reproduce:
- Create new app on https://api.slack.com/apps?new_app=1
- Add your oauth scopes: https://api.slack.com/apps/AAAAAAA/oauth?
- Run the example code:
slacker.Error: not_allowed_token_type
To fix:
- Create app through classic app endpoint: https://api.slack.com/apps?new_classic_app=1
- Set "bot" oauth scope.
- Add legacy bot user (App Home) section
However this endpoint is deprecated and seems like it will be disabled in favor of the god-awful events api that requires a full web server running waiting for events.
Additionally classic apps are not allowed on slack's app directory.K
Kraymer and MoralCode
Metadata
Metadata
Assignees
Labels
No labels