All Projects → koenrh → Delete Tweets

koenrh / Delete Tweets

Licence: isc
Delete tweets from your timeline.

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Delete Tweets

Search Tweets Python
Python client for the Twitter search endpoints (v2/Labs/premium/enterprise). Now supports Twitter API v2 /recent and /all search endpoints.
Stars: ✭ 378 (-26.32%)
Mutual labels:  twitter
Twitteroauth
The most popular PHP library for use with the Twitter OAuth REST API.
Stars: ✭ 4,134 (+705.85%)
Mutual labels:  twitter
Socioboard 4.0
Socioboard is world's first and open source Social Technology Enabler. Socioboard Core is our flagship product.
Stars: ✭ 475 (-7.41%)
Mutual labels:  twitter
Kafka Connect Ui
Web tool for Kafka Connect |
Stars: ✭ 388 (-24.37%)
Mutual labels:  twitter
Mbtwitterscroll
Recreate Twitter's profile page scrolling animation for UITableView and UIScrollViews.
Stars: ✭ 421 (-17.93%)
Mutual labels:  twitter
Refined Twitter Old
[DEPRECATED] Chrome extension that enforces the mobile web version of Twitter and improves its interface
Stars: ✭ 442 (-13.84%)
Mutual labels:  twitter
Play Pac4j
Security library for Play framework 2 in Java and Scala: OAuth, CAS, SAML, OpenID Connect, LDAP, JWT...
Stars: ✭ 375 (-26.9%)
Mutual labels:  twitter
Proven
🔑✅ An alternative to Twitter's verified accounts powered by Keybase.
Stars: ✭ 511 (-0.39%)
Mutual labels:  twitter
Yii2 Authclient
Yii 2 authclient extension.
Stars: ✭ 430 (-16.18%)
Mutual labels:  twitter
Auth
:atom: Social (OAuth1\OAuth2\OpenID\OpenIDConnect) sign with PHP
Stars: ✭ 457 (-10.92%)
Mutual labels:  twitter
Linqtotwitter
LINQ Provider for the Twitter API (C# Twitter Library)
Stars: ✭ 401 (-21.83%)
Mutual labels:  twitter
Wdt Emoji Bundle
Slack like emoji picker with apple/ios, twitter/twemoji, google, emojione, facebook, messenger emoji support
Stars: ✭ 411 (-19.88%)
Mutual labels:  twitter
Buji Pac4j
pac4j security library for Shiro: OAuth, CAS, SAML, OpenID Connect, LDAP, JWT...
Stars: ✭ 444 (-13.45%)
Mutual labels:  twitter
Twitter Sort
🐦 Sort numbers with some help from the Twitter API
Stars: ✭ 384 (-25.15%)
Mutual labels:  twitter
Rssbox
📰 I consume the world via RSS feeds, and this is my attempt to keep it that way.
Stars: ✭ 492 (-4.09%)
Mutual labels:  twitter
Activelabel.swift
UILabel drop-in replacement supporting Hashtags (#), Mentions (@) and URLs (http://) written in Swift
Stars: ✭ 3,942 (+668.42%)
Mutual labels:  twitter
Android Dev Sources
All those Android development sources that you need to be and stay awesome!
Stars: ✭ 434 (-15.4%)
Mutual labels:  twitter
Bitlbee
An IRC to other chat networks gateway 🐝
Stars: ✭ 513 (+0%)
Mutual labels:  twitter
Twitter Php
Small and easy PHP library for sending messages to Twitter and receiving statuses.
Stars: ✭ 507 (-1.17%)
Mutual labels:  twitter
Distributed Systems Technologies And Cases Analysis
《分布式系统常用技术及案例分析》示例源码
Stars: ✭ 446 (-13.06%)
Mutual labels:  twitter

delete-tweets

PyPI version

This is a simple script that helps you delete tweets (or just replies or retweets) from your timeline. There are quite a few third-party services that allow you to delete tweets, but these very likely will not allow you to delete tweets beyond the infamous 3,200 tweet limit.

Prerequisites

Unfortunately, as of late 2018, you are required to have a Twitter Developer account in order to create a Twitter app.

Apply for a Twitter Developer account

  1. Create a Twitter Developer account:
    1. User profile: Use your current Twitter @username.
    2. Account details: Select I am requesting access for my own personal use, set your 'Account name' to your @username, and select your 'Primary country of operation.
    3. Use case details: select 'Other', and explain in at least 300 words that you want to create an app to semi-automatically clean up your own tweets.
    4. Terms of service: Read and accept the terms.
    5. Email verification: Confirm your email address.
  2. Now wait for your Twitter Developer account to be reviewed and approved.

Create a Twitter app

  1. Create a new Twitter app (not available as long as your Twitter Developer account is pending review).
  2. Set 'Access permissions' of your app to Read and write.

Configure your environment

  1. Open your Twitter Developer's apps.
  2. Click the 'Details' button next to your newly created app.
  3. Click the 'Keys and tokens' tab, and find your keys, secret keys and access tokens.
  4. Now you need to make these keys and tokens available to your shell environment. Assuming you are using Bash:

⚠️ Before you continue, you should be aware that most shells record user input (and thus secrets) into a history file. In Bash you could prevent this by prepending your command with a single space (requires $HISTCONTROL to be set to ignorespace or ignoreboth).

export TWITTER_CONSUMER_KEY="your_consumer_key"
export TWITTER_CONSUMER_SECRET="your_consumer_secret"
export TWITTER_ACCESS_TOKEN="your_access_token"
export TWITTER_ACCESS_TOKEN_SECRET="your_access_token_secret"

Get your tweet archive

  1. Open the Your Twitter data page
  2. Scroll to the 'Download your Twitter data' section at the bottom of the page
  3. Re-enter your password
  4. Click 'Request data', and wait for the email to arrive
  5. Follow the link in the email to download your Tweet data
  6. Unpack the archive

Getting started

Installation

Install the tool using pip.

python3 -m pip install delete-tweets

Usage

Delete any tweet from before January 1, 2018:

delete-tweets --until 2018-01-01 tweet.js

Or only delete all retweets:

delete-tweets --filter retweets tweet.js

Spare tweets

You can optionally spare tweets by passing their id_str, setting a minimum amount of likes or retweets:

delete-tweets --until 2018-01-01 tweet.js --spare-ids 21235434 23498723 23498723

Spare tweets that have at least 10 likes, or 5 retweets:

delete-tweets --until 2018-01-01 tweet.js --spare-min-likes 10 --spare-min-retweets 5
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].