From facc4370b55bdebf75c26b82e897594aa523ed98 Mon Sep 17 00:00:00 2001 From: Kyle Varga Date: Tue, 2 Aug 2016 11:24:05 -0500 Subject: [PATCH 1/2] Change readme since document.cookies doesn't return https cookies --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 32caa5cf..e5aa65ac 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,12 @@ pip install -r requirements.txt You'll need to provide your team name (the bit before ".slack.com" in your admin URL) and your session cookie (grab it from your browser). Copy `.env.example`, fill them in, and source it. -To grab your Slack session cookie, [open your browser's javascript console](http://webmasters.stackexchange.com/a/77337) and copy the value of `document.cookie` +To grab your Slack session cookie: +* [open your browser's dev tools](http://webmasters.stackexchange.com/a/77337) and copy the value of `document.cookie` +* Go to the Network tab +* Re-load page like https://{teamname}.slack.com/customize/emoji +* Find call to `emoji` (it is most likely the very top request) +* Scroll to `Request-Headers` and copy the value of Cookie and add to .env ```bash cp .env.example .env From da4a1d3b6d31a2dd724c299fc09af97735f67205 Mon Sep 17 00:00:00 2001 From: Kyle Varga Date: Tue, 2 Aug 2016 11:24:41 -0500 Subject: [PATCH 2/2] Fix capitalization --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e5aa65ac..f61bad8c 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ pip install -r requirements.txt You'll need to provide your team name (the bit before ".slack.com" in your admin URL) and your session cookie (grab it from your browser). Copy `.env.example`, fill them in, and source it. To grab your Slack session cookie: -* [open your browser's dev tools](http://webmasters.stackexchange.com/a/77337) and copy the value of `document.cookie` +* [Open your browser's dev tools](http://webmasters.stackexchange.com/a/77337) and copy the value of `document.cookie` * Go to the Network tab * Re-load page like https://{teamname}.slack.com/customize/emoji * Find call to `emoji` (it is most likely the very top request)