Skip to content

swapnanildutta/Social-Media-Sentiment-Analysis-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Social-Media-Sentiment-Analysis-API

PRs Welcome HitCount

In this project, we are using the Sentiment Analysing algorithm to predict the emotional state of an individual based on the data input from the person's social media posts and interactions. To perform this analysis, we use an interactive platform like the website or the mobile application and take the user authorized account name and process the data accordingly in our server and finally display the result of analysis performed i.e. the emotional state of the individual whose account name was provided.

This is just the API of our project, hosted on Heroku and hence the Procfile is made.

Setup

  • Create a Twitter Developer Account and acquire the access token and key and API key and token.
  • Paste those credentials into the app.py.

Hosting Locally

  • Install the dependencies using :

    pip install -r requirements.txt
  • Run the app.py file :

    python app.py

Hosting Remotely

  • Fork the entire repository and make the necessary changes.

  • Link the repository to the Heroku pipeline.

Output ( Same for Locally and Remotely Hosted )

Viewed In Browser

Browser View

Viewed In API Testing Platform

API Tester View

Releases

No releases published

Packages

No packages published