Skip to content

using python and twitter api to read tweets and analyze them

Notifications You must be signed in to change notification settings

mkhan935/Twitter-Sentiment-Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twitter-Sentiment-Analysis

using python and twitter api to read tweets and analyze them

The goal of this script, is to search the twitter api for tweets on the word of our choosing, I chose healthcare as at the time writing this script it is a topic of great concern, the script then uses TextBlob to analyize the sentiment of the user, polarity measures how positive or negative some text is, subjectivity measures how much of opinion or factual a text is, this is all outputted into a test.txt file. I did this just to learn how to use API and it seemed like a fun topic floating around stackoverflow. the consumer_key,consumer_secret, access_token, access_token_secret are your own personal api generated keys, i have left them blank as I do not wish to share my keys, please sign up for the twiiter api and use your own, it was crazy fun trying this on controversial topics, machine learning is the future :) and analyzing data has been the present norm

About

using python and twitter api to read tweets and analyze them

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages