Skip to content
Twitter script for gathering tweets from Twitter Search API and save them on a CSV file
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Python script for searching tweets with a particular keyword, hashtag, or mention using the Twitter Search API, and save them on a CSV file.

Keep in mind that Twitter Standard Search API has a 7-day limit. In other words, no tweets will be found for a date older than one week.

sample-tweets.csv is a sample file for a search around SEO.


To run this script, you'll need python 3.7 and the following libraries:

Running the application

Clone this repository to your computer. Finally, within the cloned folder, type the following in the command line to run the script locally:


You can’t perform that action at this time.