Social Influencers Web Application
Description
Web application made for the dissertation thesis - Multimedia Social Networks Influential Users Identification. The application determines the most influential users from the YouTube platform and creates a graph with the most important users.
Installation
- Install requirements
pip install -r requirements.txt
- Add the API key file from Google Cloud in
/application/key_file.json
- Add the API dev key from Google Cloud in
With the content
/application/.env
GOOGLE_DEV_KEY="[Add the key]"
- For the mail functions to work, add the API key from Mailjet in
/utilities/keys.py
- Set the path for the Google Application credentials
export GOOGLE_APPLICATION_CREDENTIALS="application/key_file.json"
- Run server
python main.py
Architecture
The main components of the application are
-
Information Gathering - Data:
- YouTube API
-
Data Storage - Database:
- MongoDB
- SQLite
-
Analysis - Ranking algorithms:
- betweenness centrality
- degree centrality
- closeness centrality
- harmonic centrality
- eigenvector centrality
- pagerank
- voterank
Application structure
influential_users_web
├── application
| ├── __init__.py
| ├── database.py
| ├── message_logger.py
| ├── network_analysis.py
| ├── network_display.py
| └── web_crawler.py
├── assets
| ├── css
| ├── image
| └── vendor
├── logs
├── pages
| ├── auth_pages
| | ├── __init__.py
| | ├── change_password.py
| | ├── forgot_password.py
| | ├── login.py
| | ├── logout.py
| | └── register.py
| ├── __init__.py
| ├── dashboard.py
| ├── discover.py
| ├── home.py
| └── profile.py
├── utilities
| ├── __init__.py
| ├── auth.py
| ├── config.py
| ├── keys.py
| └── utils.py
├── __init__.py
├── config.txt
├── create_tables.py
├── main.py
├── README.md
├── requirements.txt
├── server.py
└── users.db
Resources
Web content