Skip to content
This repository has been archived by the owner on Oct 26, 2023. It is now read-only.

usage is having a problem #42

Open
iandouglas opened this issue Apr 12, 2017 · 4 comments
Open

usage is having a problem #42

iandouglas opened this issue Apr 12, 2017 · 4 comments
Assignees

Comments

@iandouglas
Copy link

slack-history-export -t my_oatuh_token -u my_username -f output.json

gives this output:

workingError: missing_scope
    at Users.BaseClass.throwError (/usr/local/lib/node_modules/slack-history-export/node_modules/slack-api-client/lib/api/common/base_class.js:15:14)
    at /usr/local/lib/node_modules/slack-history-export/node_modules/slack-api-client/lib/api/common/base_class.js:44:37
    at Request.callback (/usr/local/lib/node_modules/slack-history-export/node_modules/superagent/lib/node/index.js:691:12)
    at Stream.<anonymous> (/usr/local/lib/node_modules/slack-history-export/node_modules/superagent/lib/node/index.js:922:12)
    at emitNone (events.js:91:20)
    at Stream.emit (events.js:185:7)
    at Unzip.<anonymous> (/usr/local/lib/node_modules/slack-history-export/node_modules/superagent/lib/node/utils.js:108:12)
    at emitNone (events.js:91:20)
    at Unzip.emit (events.js:185:7)
    at endReadableNT (_stream_readable.js:974:12)```

did I not specify the correct flags on my Slack app to gain access to private messages? or is there something else I need to do first?
@ovy9086
Copy link

ovy9086 commented May 5, 2017

same here

@hisabimbola hisabimbola self-assigned this May 8, 2017
@17cliu
Copy link

17cliu commented May 12, 2017

It works if you use legacy tokens (generated here) instead of the new Slack app tokens.

@ajhsu
Copy link

ajhsu commented Aug 29, 2017

@17cliu's approach works for me, I think it should be mentioned in README file.
(And @17cliu's headpic is super cool btw 😄 )

@17cliu
Copy link

17cliu commented Aug 29, 2017

Thanks @ajhsu! :D

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants