Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 899 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 899 Bytes

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.