To archive tweets by keyword, follow these steps using one of the common methods available:
Method 1: Using Tweepy (Python + Twitter API v2)
-
Set up your Twitter Developer Account
-
Go to Twitter Developer Portal
-
Create a project and generate API keys (Bearer Token for v2).
-
-
Install Tweepy
-
Python Script to Archive Tweets by Keyword
Method 2: Using Tools like Zapier + Google Sheets
-
Set up a Zapier account
-
Create a new Zap:
-
Trigger: Twitter → “Search Mention” (by keyword)
-
Action: Google Sheets → “Create Spreadsheet Row”
-
-
Result:
-
Tweets matching your keyword are automatically archived in a Google Sheet.
-
Method 3: Use Advanced Twitter Search + Manual Export
-
Go to Twitter Advanced Search
-
Enter your keyword and filter by date.
-
Use browser extensions (like “Twitter Archiver” on Google Sheets or “TAGS”) to export the data.
Notes:
-
Twitter API v2 allows access to 7 days of historical tweets in the free tier.
-
For older tweets, you need Twitter Academic Access or a premium plan.
-
Always respect Twitter’s API usage limits and data policies when archiving tweets.
If you’d like, I can tailor a script or automation setup based on your needs or environment (e.g., local, cloud, automation frequency).