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