Twitter live sentiment Analysis Tutorial in Python – Tweepy and TextBlob

///Twitter live sentiment Analysis Tutorial in Python – Tweepy and TextBlob

Twitter live sentiment Analysis Tutorial in Python – Tweepy and TextBlob

FavoriteLoadingAdd to favorites

Twitter live Sentiment Analysis helps us map the positive and the negative sentiments of tweets in real time. In this video we take the examples of Donald Trump tweets, what people are tweeting about him and plot the sentiment for it.

We have to clean the data using some techniques and encoding.

The same approach can be followed with any live event like elections, a football match and even stock market to track live sentiment and analyse the relation between price raise and fall.

This tutorial uses Tweepy (pip install tweepy), Text Blob , Matplotlib libraries available with the Anaconda Package.

For the code:
Github :
Facebook :
Support us on Patreon :
Twitter Developer :
Tweepy Documentation :

By |2017-06-29T03:50:59+00:00June 29th, 2017|Python Video Tutorials|7 Comments


  1. Cristi Vlad June 29, 2017 at 3:51 am - Reply

    great one! I may do something similar in ipython 🙂 keep up the good work!

  2. harshit babbar June 29, 2017 at 4:09 am - Reply

    how to convert your code to python 3

  3. VIKAS KUMAR Maurya June 29, 2017 at 4:10 am - Reply

    can you give the source code in a file?

  4. bountyhunt June 29, 2017 at 4:22 am - Reply

    Good, But where is the plot shown? You told about the code but not shown it I guess. Also how good is this approach accuracy wise? If I want to step up, what can I do further?

  5. Proud Dharmic June 29, 2017 at 4:30 am - Reply

    Hi, great video. I am getting the error "cannot use a string pattern on a bytes-like object" on the line twitterStream.filter(track=["Donald Trump"]).

    Any idea how this can be resolved?

  6. Mrinal Mathur June 29, 2017 at 4:31 am - Reply

    Great work really 🙂
    can you tell me how i can modify it for analyzing sentences too?

  7. kishana chang June 29, 2017 at 4:50 am - Reply

    Does PyCharm output graphs ?

Leave A Comment