Skip to content

segdeha/twitter-archive-utilities

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Delete Old Retweets

Script to delete retweets using your Twitter archive. These are different from quote tweets. This script does not delete quote tweets.

This script does not delete the original tweet. It does remove retweets from your timeline.

WARNING: Retweets are removed from your timeline immediately upon running the script. Be sure this is what you want before you run it!

  1. Clone or download this repo
  2. Make a copy of the file .envsample called .env at the root of the twitter-archive-utilities directory
  3. Get your tokens and keys from Twitter by creating an app
  4. Add your tokens and keys to .env along with your username
  5. In .env, set the max age (in days) of the retweets you want to keep and change the value of RETWEETS_DELETE to true
  6. Request your archive from your Twitter settings page
  7. From the downloaded archive, copy the tweets directory (located in <archive>/data/js) to the root of the twitter-archive-utilities directory
  8. Open a terminal window
  9. Run npm install (first use only)
  10. Run node app.js

Inspired by Mike Pacific’s Node-Delete-Your-Tweets script.

About

Tool to delete old tweets using your Twitter archive

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published