BlakeWilliams / Elixir-Slack

Slack real time messaging and web API client in Elixir
MIT License
675 stars 182 forks source link

Token generation instructions incomplete #182

Closed axelson closed 5 years ago

axelson commented 5 years ago

Judging by the instructions present in the readme does this library only support legacy tokens?

Edit: Sent early

Legacy tokens: https://api.slack.com/docs/token-types#legacy

If not are there any instructions to go from: "App ID", "Client ID", "Client Secret", "Signing Secret" to the "token" that Slack.Bot.start_link expects?

yulolimum commented 5 years ago

I'm not sure if this helps you, but you can get the oauth token after you grant your Slack app permissions and install it:

image
axelson commented 5 years ago

Thanks! That was what I was missing.

Note: you need to go to the "Your Apps" page: https://api.slack.com/apps, click on your app, then click on "Add features and functionality ", then click on the "Permissions" button, and then you can get your oauth access token.

BlakeWilliams commented 5 years ago

If it's possible to make this more clear in the README I'd love a PR if anyone has time. :)

axelson commented 5 years ago

Created #183!