- Tweepy
- Pyfiglet
- Scikit-learn
- Numpy
- Clone or download the the repository.
- Replace the following tokens in
twitter_client.py
consumer_key = "YOUR_KEY"
consumer_secret = "CONSUMER SECRET"
access_token = "ACCESS TOKEN"
access_secret = "ACCESS SECRET"
-
Navigate to the tweagle-master folder and run
twe.py
file to launch tweepy -
Enter 1 for analyzing user/pages and 2 for streaming event
A directory user
is created in the parent folder which consists of folders named on the usernames
. The streaming data is created in the parent directory itself. Make a note that streaming doesn't stop until CTRL-Z interrupts. \b
- Marco Bonanini, Data Scientist
The code base is heavily inspired from Marco's book on Social Media paltforms. Tweagle is a port of his work for Twitter Analytics.