A tool for analyzing communities on twitter based on a list of users or a handle's followers.
Requires authentication information in one JSON file twitter_creds.json with the following format:
[
{
"NAME": "[AUTHENTICATION_NAME]",
"CONSUMER_KEY": "[CONSUMER_KEY]",
"CONSUMER_SECRET": "[CONSUMER_SECRET]",
"ACCESS_TOKEN": "[ACCESS_TOKEN]",
"ACCESS_TOKEN_SECRET": "[ACCESS_TOKEN_SECRET]"
}
]
Dependencies
- Tweepy (NOTE: wrapped in twitter_service.py to handle errors)
- Pandas
- Scikit-learn
- NetworkX
- Louvain Community Detection
- BotOrNot Python API (NOTE: adapted to use twitter_functions.py)