Method 1: Get Tweet ID from URL (Desktop)
1
Open the tweet you want to get the ID from on Twitter.com
2
Look at the URL in your browser's address bar
3
Copy the number at the end of the URL after /status/
https://twitter.com/username/status/1382350606417817604
✅ The highlighted number is your Tweet ID
Method 2: Get Tweet ID on Mobile
1
Open the Twitter app and find the tweet
2
Tap the share icon (iOS: share arrow, Android: share icon)
3
Select "Copy link" from the share menu
4
Paste the link anywhere to see the URL and extract the ID
Method 3: Right-Click Method (Desktop)
1
Right-click on the tweet's timestamp or share button
2
Select "Copy link address" (Chrome) or "Copy Link" (Firefox)
3
Paste the URL and extract the number after /status/
Method 4: From Twitter API
1
Make an API request to Twitter's API endpoints
2
Look for the "id_str" field in the JSON response
{
"id": 1382350606417817604,
"id_str": "1382350606417817604",
"text": "Tweet content..."
}
⚠️ Always use id_str instead of id to avoid precision loss
💡 Pro Tips
- Tweet IDs are 18-19 digits long
- Older tweets have shorter IDs (fewer digits)
- Tweet IDs are unique and never reused
- You can decode Tweet IDs to find when tweets were posted
- Tweet IDs work for replies, retweets, and quote tweets too
What is a Tweet ID?
A Tweet ID is a unique numeric identifier assigned to every tweet on Twitter. It's a Snowflake ID that encodes the tweet's creation timestamp and other metadata in a 64-bit integer format.
Why Do You Need Tweet IDs?
- Twitter API: Required for API calls to fetch, delete, or interact with specific tweets
- Analytics: Track and analyze specific tweets over time
- Embedding: Embed tweets on websites using their IDs
- Archiving: Save and reference tweets permanently
- Reporting: Report problematic tweets to Twitter support
- Research: Study tweet patterns and timelines
Tweet ID Format
Tweet IDs follow Twitter's Snowflake format:
- 18-19 digit numbers (e.g., 1382350606417817604)
- Encode timestamp since November 4, 2010
- Include worker ID, process ID, and sequence number
- Sortable chronologically (higher ID = newer tweet)
Common Use Cases
- Building Twitter bots and automation tools
- Creating Twitter analytics dashboards
- Embedding tweets on blogs and websites
- Archiving important tweets
- Reporting tweets to Twitter support
- Academic research on Twitter data
Troubleshooting
Problem: Can't see the full URL on mobile
Solution: Use the "Copy link" feature instead of trying to view the URL directly
Problem: Tweet ID looks different in API response
Solution: Use id_str field instead of id to get the full ID as a string
Problem: Deleted tweet - can't get ID
Solution: If you have a screenshot or cached version, the ID is still in the URL