kfei / slack-cleaner

:speech_balloon: Bulk delete messages and files on Slack
MIT License
1.24k stars 144 forks source link

How to get slack to allow authorization? #60

Closed ocheret closed 6 years ago

ocheret commented 6 years ago

New to Slack apps. Created an app on slack to get a token. Turned on assorted permissions but when I run the slack-cleaner I ultimately get a stack trace and 'slacker.Error: invalid_auth'.

It would be helpful if the readme had a short description of what to do on the Slack side of config.

sgratzl commented 6 years ago

see https://github.com/sgratzl/slack-cleaner#tokens and https://github.com/sgratzl/slack-cleaner#minimal-slack-permission-scopes-required

ocheret commented 6 years ago

Thanks! I was not using a legacy token before.

shanness commented 6 years ago

Thanks for this app! Life saver! Would be good to put this in the current readme, it's missing from that, and I had to find it in the closed issues.

sgratzl commented 6 years ago

Thanks for this app! Life saver! Would be good to put this in the current readme, it's missing from that, and I had to find it in the closed issues.

well there are already pull requests for that but the author if this repo never merged them. Thus I created my fork: https://github.com/sgratzl/slack-cleaner#tokens