Skip to content
Twitter script for gathering tweets from Twitter stream 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 connecting to Twitter stream, gather tweets that match a particular keyword, hashtag or mention and save them on a CSV file.

Keep up in mind that Twitter statuses/filter API has a 400 keywords limit for streaming realtime tweets.

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.