Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slack legacy tokens are discontinued and can't be created anymore #32

Open
daniellandau opened this issue Jun 17, 2020 · 3 comments
Open
Labels
bug Something isn't working

Comments

@daniellandau
Copy link

The Slack integration can't be used anymore by new users as Slack doesn't allow creating new tokens anymore.

@user2684 user2684 added the bug Something isn't working label Jun 19, 2020
@user2684
Copy link
Collaborator

Got it, thanks for letting me know! Let me look for alternative approaches and will report back

@user2684
Copy link
Collaborator

webhook would have been the easiest replacement but does not allow to post images but only linking a url which not suitable here (https://stackoverflow.com/questions/35742775/is-it-possible-to-post-files-to-slack-using-the-incoming-webhook).
Going through a full oauth 2.0 authorisation flow seems to be the only way to use the Web API (and hence files.upload) which is really tricky in bash for the complexity and requires to store the refresh token somewhere.
Continue to research for simpler alternatives to implement

@user2684
Copy link
Collaborator

@daniellandau may you please check if the solution described in #39 may work for you as well? The idea is to leverage an intermediate service like IFTTT or Zapier to dispatch the picture/video to many different places, Slack included. The integration is intended to take place through email since would require no changes on the PiWebcam side and seems to be the only one really working on both the free plans of IFTTT or Zapier. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants