Skip to content

Web framework using Flask with Plotly Dash for Influential Users Application

License

Notifications You must be signed in to change notification settings

alexgrigoras/influential_users_web

Repository files navigation

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

  1. Install requirements
    pip install -r requirements.txt
  2. Add the API key file from Google Cloud in
    /application/key_file.json
  3. Add the API dev key from Google Cloud in
    /application/.env
    With the content
    GOOGLE_DEV_KEY="[Add the key]"
  4. For the mail functions to work, add the API key from Mailjet in
    /utilities/keys.py
  5. Set the path for the Google Application credentials
    export GOOGLE_APPLICATION_CREDENTIALS="application/key_file.json"
  6. Run server
    python main.py

Architecture

The main components of the application are

  1. Information Gathering - Data:

    • YouTube API
  2. Data Storage - Database:

    • MongoDB
    • SQLite
  3. 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

About

Web framework using Flask with Plotly Dash for Influential Users Application

Topics

Resources

License

Stars

Watchers

Forks