Skip to content
This repository has been archived by the owner on Mar 29, 2024. It is now read-only.

Mayur57/twitter-nuke

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

header-image

Twitter Nuke

Quickly and efficiently delete your entire tweet history with the help of your Twitter archive without worrying about the puny and pointless 3200 tweet limit imposed by Twitter.

Warning The project has been outdated and unsupported for quite a while. It might not work as intended. If you would like to work on improving support and resolving issues, please take a look at the issues tab and post a PR!

About

The script uses multithreading to speed up the deletion process by simultaneously running multiple instances of the Twitter API. By utilising this modification the speed can be improved upto ~50-60 times the single threaded performance (~1 tweet per sec).

Features

  • Set the number of likes and retweets as threshold above which the tweets will not be deleted.
  • Set the batch size for threads
  • Your deleted tweets and skipped tweets will be outputted in corresponding files.

Usage

  • Apply for Twitter Developer program and generate your API keys and tokens.
  • Download your Twitter data by following these steps.
  • Download the latest release of the script as a ZIP file and decompress it to a folder.
  • Navigate to the folder you just unpacked your archive to by typing the following command in your terminal: cd PATH/TO/YOUR/FOLDER
  • Install necessary Python packages by running pip3 install -r requirements.txt in terminal.
  • Edit the script with your Twitter API tokens and your preferences.
  • Run it in your terminal using python3 delete-script.py

Note Post September 2020, due to the high-profile Twitter attack of July 2020, the Twitter data might take anywhere from 24 hours to 4 days to be generated. Keep this in mind.

Caution

This script will delete all of your tweets and the action cannot be reversed. The script DOES NOT ask for your confirmation before executing the delete command. Run this script only if you are absolutely sure about it. The creator is not responsible for any loss in data and all the liabilities are held by the person running this script.

Donate

Donate to the creator here -> Buy Me a Coffee

Other Credits

Photo by Brett Jordan on Unsplash.