Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ilf/twitter-eraser

delete Twitter content
https://github.com/ilf/twitter-eraser

Last synced: about 1 month ago
JSON representation

delete Twitter content

Awesome Lists containing this project

README

        

Digital Eraser
==============

Digital Eraser deletes Twitter account data. It is intended to be run via cron.

Status
------

Since Twitter killed free and open API access, you should delete your entire account instead.

Name
----

Radiergummi is German for "eraser".

Reason
------

[Delete: The Virtue of Forgetting in the Digital Age](http://press.princeton.edu/titles/9436.html).

Description
-----------

Twitter is a (near) real time medium. It doesn't need to keep an archive of everything you have ever done.

Digital Eraser can delete these things:

- status messages, including retweets
- favorites
- direct messages: sent and received
- blocks
- saved searches

It is designed to be run via cron automatically and regularly.

Warning
-------

This will permanently delete content of your Twitter-account.

Inspiration
-----------

Dave Jeffery: [delete_all_tweets.py](https://gist.github.com/davej/113241)

Requirements
------------

[Tweepy](https://www.tweepy.org/) - Python library for accessing the Twitter API

Configuration
-------------

Get OAuth key and secret for application and account at: [dev.twitter.com/apps](https://dev.twitter.com/apps)

Change the limits-variables to whatever value you want to keep.

Notes
-----

The Twitter API seems to have a hard time with old content. An initial deletion to the specified limits will take a while.

On first run, you will probably see a few errors. These are Twitters fault:

- Twitter error response: status code = 503
- No status found with that ID.

Twitters "Tweet Count" of a profile is not accurate. It seems to be about 20 Tweets over the actual count. Count them manually, and you will see Twitter Eraser is correct, Twitter not.

License
-------

[HESSLA](https://en.wikipedia.org/wiki/Hacktivismo_Enhanced-Source_Software_License_Agreement). But I also [like beer](https://en.wikipedia.org/wiki/Beerware).