Skip to content

This repo contains a program for deleting one's twitter history (likes, tweets, retweets). It works, but isn't user-friendly (hoping to change this).

Notifications You must be signed in to change notification settings

jonoden/twitterwipe

 
 

Repository files navigation

twitterwipe

  1. use pip to install the stuff you need from requirements.txt.

  2. Authorization - Pt. I
    get your consumer keys from twitter. copy keys.example.json to keys.json, and put your consumer keys into the json. if you have app_key & app_secret, put those in now and skip to step (3).

  3. Authorization - Pt. II
    run auth.py. it will print your app_key and app_secret to console. put those into your keys.json. this feels bad to do; there's probably a more secure way of doing this (i think you can get these from the twitter site, but also think that's being deprecated). feel free to do this another way, all you need are the app_key and app_secret.

  4. Configure
    put in the number of days worth of past data (starting from runtime) you want to preserve into config.yaml. anything further in the past than this time period will be deleted (save some favorites; please see the epilogue).

  5. run the program with python:
    python twitterwipe.py

  6. logs will be written to logs.logs, which is registered in the .gitignore.

epilogue

if you have more than a certain number of favorites, this script might not destroy them in totality (i think it's like ~3k likes). Here's a link to what i did to get them all:

https://gist.github.com/aymericbeaumet/d1d6799a1b765c3c8bc0b675b1a1547d

About

This repo contains a program for deleting one's twitter history (likes, tweets, retweets). It works, but isn't user-friendly (hoping to change this).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%