manelizzard / flarum-notify

Get notified about forum activity in Slack, Hipchat or Gitter.
MIT License
6 stars 3 forks source link

how do I get the slack token? #3

Closed giuliomoro closed 7 years ago

giuliomoro commented 7 years ago

The instructions on the slack website seem to be oriented at the app developers more than the app's user. https://api.slack.com/web https://api.slack.com/docs/oauth

manelizzard commented 7 years ago

You can get your tokens here: https://api.slack.com/tokens

giuliomoro commented 7 years ago

Would you mind to elaborate? At that address I get this:

"My Authorizations You haven't authorized any Slack applications."

screen shot 2017-03-19 at 20 35 23

Do I need to install a slack app first? What's the name of the app? "flarum" gives no results if I search in here https://instrumentslab.slack.com/apps . Thanks

giuliomoro commented 7 years ago

Just to elaborate on my request, the flarum-notify extension says in the dialog in the admin panel: "In order to obtain the token, visit https://api.slack.com/web" I then go to that page and it says:

"Authentication Authenticate your Web API requests by providing a bearer token, which identifies a single user. Register your application with Slack to obtain credentials for use with our OAuth 2.0 implementation, which allows you to negotiate tokens on behalf of users and teams. Tokens should be passed in all Web API calls as a parameter called token."

A step-by-step guide on how to obtain the Slack token for use in flarum-notify would be greatly appreciated.

manelizzard commented 7 years ago

How to obtain the Slack token is properly described, step by step, on theirs website. Please read carefully their documentation.