Overview
Thedelete command permanently removes a tweet from your account. This action cannot be undone.
Usage
Examples
Delete a Tweet with Confirmation
Cancel Deletion
Command Reference
Arguments
tweet_id(required): The numeric ID of the tweet to delete
Confirmation
The command includes a built-in confirmation prompt to prevent accidental deletions. You must typey or yes to proceed.
The confirmation prompt is a safety feature. Always verify you have the correct tweet ID before confirming deletion.
Finding Tweet IDs
You can find the tweet ID of your own tweets in several ways:From Tweet URL
Using the CLI
From Web Interface
- Open the tweet on x.com
- Look at the URL in your browser
- Copy the numeric ID at the end
Limitations
Cannot Delete
- Tweets from other users
- Tweets you’ve retweeted (use
unretweetinstead) - Tweets from suspended or deleted accounts
- Already deleted tweets
Error Handling
Common Errors
Tweet not found:- Tweet ID is incorrect
- Tweet was already deleted
- Tweet belongs to another user
- Tweet belongs to another user
- Authentication token doesn’t have delete permissions
- Too many delete operations in a short time
- Exceeded Twitter’s API rate limits
Rate Limits and Anti-Detection
Anti-Detection Features:
- Random delays (1.5-4 seconds) after deletion
- Chrome TLS fingerprint impersonation
- Automatic retry with exponential backoff
- Transaction ID generation for authenticity
Recommended Usage
Safe deletion patterns:- Maximum: 10-15 deletions per 15 minutes
- Add delays between deletions (a few seconds to minutes)
- Avoid deleting all tweets in rapid succession
- Wait at least 15-20 minutes
- The CLI will automatically retry with exponential backoff
- Consider spreading deletions over a longer time period
Bulk Deletion
If you need to delete multiple tweets:Manual Approach (Recommended)
Scripted Approach
The CLI does not currently support a
--yes flag to skip confirmation. Each deletion requires manual confirmation for safety.Impact of Deletion
What Gets Deleted
- The tweet content
- All engagement metrics (likes, retweets, replies counts)
- The tweet from your profile
- The tweet from Twitter search results
- The tweet from followers’ timelines
What Doesn’t Get Deleted
- Replies: Other users’ replies may remain visible
- Screenshots: Users may have captured your tweet
- Retweets: Existing retweets may take time to clear
- Quotes: Quote tweets of your content may still exist
- Archives: Third-party archives may have saved your tweet
Best Practices
- Double-check the ID: Always verify the tweet ID before confirming deletion
- Archive first: Consider exporting important tweets before deletion
- Avoid bulk deletion: Delete tweets gradually to avoid rate limits
- Use bookmarks: Review tweets via
twitter user-postsbefore deleting - Add delays: Wait 30-60 seconds between deletions when removing multiple tweets
Alternative: Tweet Management
Instead of deleting, consider:- Making your account private
- Using Twitter’s native archive features
- Exporting tweets with
twitter user-posts --json -o my_tweets.json - Reviewing engagement before deletion
