Skip to content

🐦 A Twitter API tool that allows for basic interactions between users and scraping of words, hashtags, and even streaming them in real time.

License

Notifications You must be signed in to change notification settings

timrodz/python-twitter-scraper-tweepy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twitter Scraper using Tweepy

Python based scraper that uses the Tweepy python library.

How-to

The TwitterScraper class contains the basic Twitter interactions such as Likes, Follows, Retweets, etc. You can also set up a new tweet listener through the StreamListener class.

IMPORTANT: You will need to apply for a Twitter Developer account & acquire API Authentication credentials. Read more in this tutorial by Real Python.

Once you authenticate your credentials, store them inside a config.py file. Make sure they're named like so:

  • API_KEY
  • API_SECRET_KEY
  • ACCESS_TOKEN
  • ACCESS_TOKEN_SECRET

If you wish to store these credentials somewhere else, make sure to change the imports accordingly in lines 3, 10 & 11 of twitter_scraper.py.

About

🐦 A Twitter API tool that allows for basic interactions between users and scraping of words, hashtags, and even streaming them in real time.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages