Tweet cleaner using newly-structured Twitter data archive. I'M NOT RESPONSIBLE FOR LOSS OF YOUR DATA.
- Tokens of your Twitter application
- Tokens of your account for the Twitter application
- Node.js (v10 or up)
- Clone this repository.
$ git clone https://github.com/SDSkyKlouD/twitter-pwa-archive-cleaner
- Install npm dependencies.
$ cd twitter-pwa-archive-cleaner $ npm install
- Get your Twitter archive. Make sure you're running PWA version of Twitter web client (it looks like this.). You may have to wait for your archive incoming to your e-mail.
- You can also follow this official guide.
- Open your Twitter archive after download it, pick ONLY
tweet.js
file from your archive root and copy it to cloned repository root - Fill out
config/secret.example.json
with your application's consumer key/secret, your account's access token key/secret. If you done filling the file out, rename the file tosecret.json
- Run this script with
npm start
and the script will automatically process with yourtweet.js
archive data