Coder Social home page Coder Social logo

twitterdelete's Introduction

TwitterDelete ๐Ÿ’€ (archived)

TwitterDelete was a small application to delete your old, unpopular tweets and likes.

Starting February 9, we will no longer support free access to the Twitter API, both v2 and v1.1. A paid basic tier will be available instead

https://twitter.com/TwitterDev/status/1621026986784337922

I have zero interest maintaining anything using the Twitter API given this.

If you're still using Twitter: get yourself to Mastodon which:

  • has TwitterDelete behaviour already built-in as a feature
  • is nice like Twitter was 10 years ago

Come on, follow me on Mastodon, it's lovely over here.

Features

  • Delete, unlike and unretweet tweets
  • Keep tweets based on age and tweaks based on retweet or favourite count
  • Delete tweets no longer exposed by Twitter API from a downloaded Twitter archive file

Usage

To setup locally run:

git clone https://github.com/mikemcquaid/TwitterDelete
cd TwitterDelete
bundle install

Get the Twitter API variables from https://apps.twitter.com and add the following variables to a .env file in the TwitterDelete folder:

TWITTER_CONSUMER_KEY=...
TWITTER_CONSUMER_SECRET=...
TWITTER_ACCESS_TOKEN=...
TWITTER_ACCESS_TOKEN_SECRET=...

Now run TwitterDelete:

./twitter_delete.rb --user TwitterUsername

If you fork this PR you can also used the GitHub Actions scheduled workflow combined with secrets on your fork to run this automatically.

Status

Works for deleting relevant tweet and likes. I delete my old tweets and am not actively working on improving this but I will accept pull requests.

Contact

Mike McQuaid

License

TwitterDelete is licensed under the AGPLv3 License. The full license text is available in LICENSE.txt.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.