act10ns/slack

Slack app token support

FalconerTC opened this issue · 6 comments

Incoming Webhooks are considered legacy now and app webhooks only allow you to post to a single channel, so adding support for app tokens would be awesome!

@FalconerTC I thought it was the other way around, token are legacy and incoming webhooks are the way to go.

The Incoming Webhooks app is legacy (https://slack.com/apps/A0F7XDUAZ-incoming-webhooks). The supported way of using webhooks involves creating a webhook attached to a custom app. I believe tokens are still recommended too though

Ok I see! I was confused. Since I was using the incoming webhook through a custom app! What token are you talking about because it seems that token are legacy too (https://api.slack.com/legacy/custom-integrations/legacy-tokens)

You can create bot tokens as an alternative to using webhooks https://api.slack.com/authentication/basics#scopes. It let's you use chat.postMessage to post to any channel the app is added to

Sounds to me like there is nothing to be done here. A user can just create a custom app and attach an incoming webhook to it. And I don't understand what this has to do with tokens. What am I missing?

Closing due to inactivity. If you believe this issue has been closed prematurely please provide more information to help progress the issue.