Skip to content

This is the API I created for the project on "Sentiment Analysis using Social Media Data".

License

Notifications You must be signed in to change notification settings

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

About

This is the API I created for the project on "Sentiment Analysis using Social Media Data".

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •