Backup Slack channel messages and save as json.
- install an app to your workspace and get the token
- give the app enough OAuth scope (see https://api.slack.com)
channels:join: required byconversations.join
- invite the app to all channels (
/invite @yourappname) - use the cli of this program
yarn cli -t xoxb-1316038385333-1913162831956-h26hXK6WJ7g3UuXuTF2GVIqp -sExplanation: You may use the cli directly by node cli.js or use npm npm run cli .... -t means token for the app, -s means start. Then the program will start to get data and save them to the data folder
- write cli program
- install the app by admin
- fix message ts issue (how to calculate)
- pagination and timed backup for data
- filter data for frontend
When creating a slack app, those scopes are needed: channels:join and all history scope.