pauldevos / twitter-nuke

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

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 -r requirements.txt in terminal.
  • Edit the script with your Twitter API tokens and your preferences.
  • Run it in your terminal using python3 deleter-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.

About

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

License:MIT License


Languages

Language:Python 100.0%