Slack
From Slackdump Setup Get Token and Cookie
Go to text →
Install
mac> brew install slackdump
Getting Token and Cookie Manually
While in workspace webapp https://<>.slack.com/
:
Token
In developer console:
JSON.parse(localStorage.localConfig_v2).teams[document.location.pathname.match(/^\/client\/([A-Z0-9]+)/)[1]].token
Get the cookie
OPTION I: Getting the cookie value
Switch to Application tab and select Cookies in the left navigation pane.
Find the cookie with the name "d". That's right, just the letter "d".
Double-click the Value of this cookie.
Press Ctrl+C or Cmd+C to copy it's value to clipboard.
Save it for later.
Export token and cookie & RUN
Export token and cookie with the following environment variables:
export SLACK_TOKEN=xoxc...
export COOKIE=xoxd....
Now you can run slackdump
in the same terminal where you exported these variables.
Full Reference
Children