emacs-slack icon indicating copy to clipboard operation
emacs-slack copied to clipboard

Deprecated?

Open pati-ni opened this issue 1 year ago • 3 comments

Hi @yuya373, I was wondering if this package is deprecated? To my understanding xoxc are deprecated and as of now emacs slack hangs.

Is there an alternative way to access the API and use slack through emacs?

pati-ni avatar Mar 28 '24 14:03 pati-ni

See https://github.com/yuya373/emacs-slack/issues/585#issuecomment-1985735967 – that fork works fine.

As discussed in https://github.com/yuya373/emacs-slack/issues/566 , use e.g.

(slack-register-team
       :name "Dagon"
       :default nil
       :cookie (auth-source-pick-first-password
               :host '("slack-dagon")
               :user "cookie" :type 'netrc :max 1)
       :token (auth-source-pick-first-password
               :host '("slack-dagon")
               :user "token" :type 'netrc :max 1)
       :full-and-display-names nil ; protect the innocent
       :animate-image t  ; ward off ghost gifs
       :subscribed-channels '(thalarion sarnath ib))

~/.authinfo.gpg:

machine slack-dagon user token password "xoxc-yarlathotepfvulgtlaglnvulgtmooboshu"
machine slack-dagon user cookie password "xoxd-naazathothazathothorreyliheehlirgh; d-s=5555555555"

unhammer avatar Apr 16 '24 12:04 unhammer

@unhammer Thanks, any idea how to retrieve these tokens using the slack API or some active slack session?

pati-ni avatar Apr 16 '24 14:04 pati-ni

https://my.slack.com/customize and F12→Storage→Cookies on Firefox, more info at https://github.com/wee-slack/wee-slack?tab=readme-ov-file#get-a-session-token

unhammer avatar Apr 16 '24 21:04 unhammer

just a note: I joined as a new maintainer of this repository. I am just waiting a day or so for a confirmation I can pull a bunch of commits from another fork and most of the PRs and a good number of issues will be solved.

ag91 avatar Nov 17 '24 17:11 ag91

un-deprecated :) https://github.com/emacs-slack/emacs-slack/commit/4aa670b992debd1bd16d1bda649d61458fc77249

ag91 avatar Nov 18 '24 23:11 ag91