Skip to content

Sentiment Analysis Based on Twitter feeds and Facebook Posts

Notifications You must be signed in to change notification settings

prachi1294/Sentiment_Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Sentiment_Analysis

Sentiment Analysis Based on Twitter feeds and Facebook Posts

This code allows you to connect into Facebook and Twitter in order to retreive content and analyse sentiments

##Dependencies

tweepy: (http://www.tweepy.org/) textblob: (https://textblob.readthedocs.io/en/dev/) urllib2: Used to open URLs from Python (https://docs.python.org/2/library/urllib2.html) json: Used to manipulate Json data (https://docs.python.org/3/library/json.html) datetime: Used to manipulate dates and times (https://docs.python.org/2/library/datetime.html) time: Includes various time-related functions: (https://docs.python.org/2/library/time.html) Install missing dependencies using pip

##Usage

Once you have your dependencies installed via pip, run the script in terminal via

python SA_demo.py

##Credit Originally, Twitter part is forked from Sirajology amazing work. I added the Facebook part as part of this challenge: https://www.youtube.com/watch?v=o_OZdbCzHUA

About

Sentiment Analysis Based on Twitter feeds and Facebook Posts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages