Spzabt-zz / Media_Content_Monitoring

A Java tool for social media analysis, offering project creation, sentiment analysis, and statistical insights from Reddit, Twitter, and YouTube data.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Social Media Content Monitoring System

Description

This project allows users to create and manage social media analysis projects. Users can input project details, including the project name, personal API keys, and keywords for content search. The system then connects to Reddit, Twitter, and YouTube APIs to collect data. The collected data is analyzed for sentiment, mentions, positive and negative sentiment tracking, reach over time, and generates a word cloud visualization of popular words. Users can compare projects, view social media statistics, and generate PDF reports. Content analysis is available for each data source.

Features

  • Project Creation
    • Users can create a project by providing a name, personal API keys, and content search keywords.
  • Data Collection
    • The system connects to Reddit, Twitter, and YouTube APIs to collect relevant data for analysis.
  • Text Analysis
    • Utilizes Stanford Core NLP dependency for sentiment analysis of text data.
  • Statistical Analysis
    • Counts mentions, tracks positive and negative sentiment, and measures reach over time.
  • Visualization
    • Generates a word cloud visualization of the most popular words in the collected data.
    • Utilizes Chart.js for creating charts and diagrams.
  • Project Comparison
    • Users can compare multiple projects to analyze differences in social media statistics.
  • Social Media Statistics
    • Displays total likes, retweet count, and other relevant statistics.
  • PDF Report Generation
    • Generates a PDF report containing project statistics for easy sharing and documentation.
    • Utilizes flying-saucer for PDF report generation.
  • Content Analysis
    • Provides detailed content analysis for each available source (Reddit, Twitter, YouTube).
  • Registration and Authorization
    • Default registration and authorization features are implemented for user authentication.

Technologies Used

  • Java
  • JavaScript
  • Bootstrap
  • Spring (Boot, Security, Data)
  • lombok
  • PostgreSQL
  • FreeMarker (Template Engine)
  • Chart.js
  • Flying-saucer (for Report Generation)
  • YT, Reddit, Twitter API

Installation

  1. Clone the repository.
git clone https://github.com/Spzabt-zz/Media_Content_Monitoring.git
  1. Configure the application properties, including database settings.
spring.datasource.url=jdbc:postgresql://localhost:5432/socialmedia
spring.datasource.username=user
spring.datasource.password=password
  1. Build and run the project.
For Linux/Mac:
./gradlew build
./gradlew bootRun
For Windows:
.\gradlew build
.\gradlew bootRun
  1. Generate own api keys for Reddit, Twitter and YouTube.
    • After user registration provide credentials in required fields, accessed by http://localhost:8080/credentials Credential page
    • Reddit client id
    • Reddit client secret
    • Reddit username (account)
    • Reddit password (account)
    • Reddit's user agent (name of the script)
    • Twitter consumer key
    • Twitter consumer secret
    • Twitter access token
    • Twitter access token secret
    • YouTube api key

Usage

  1. Register and log in to the application.

  2. Create a new project by providing a name, API keys, and keywords. Credential page

  3. Explore and analyze social media data, generate reports, and compare projects.

    • Mentions page
      • Mentions page
      • Mentions page
      • Mentions page
    • Analysis page
      • Mentions page
      • Mentions page
    • Sources page
      • Mentions page
    • Comparison page
      • Mentions page
      • Mentions page
      • Mentions page
    • PDF report generation page
      • Mentions page

Contributing

Feel free to contribute by opening issues or submitting pull requests.

License

License: MIT

This project is licensed under the MIT License

About

A Java tool for social media analysis, offering project creation, sentiment analysis, and statistical insights from Reddit, Twitter, and YouTube data.

License:MIT License


Languages

Language:Java 61.0%Language:FreeMarker 26.2%Language:JavaScript 7.9%Language:CSS 4.9%