PiWebcam icon indicating copy to clipboard operation
PiWebcam copied to clipboard

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

Open daniellandau opened this issue 5 years ago • 3 comments

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

daniellandau avatar Jun 17 '20 17:06 daniellandau

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

user2684 avatar Jun 19 '20 16:06 user2684

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 avatar Aug 11 '20 10:08 user2684

@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!

user2684 avatar Aug 18 '20 16:08 user2684