Twitter trend analysis

By Samuel Muiruri | Dec. 30, 2018 | Python Scripts


I made this snippet of code so I could see how a hashtag activity is on the inside.

So far I've been able to get it to plot a graph like this

which shows the tweets, retweets and likes over time. One thing I'll fix is the dates arrangment which need to be on a 45 degrees tilf so they don't overlap each other.

Apart from that it works okay and I can tell if I want to take advantage of a trending topic and join in whether my content is going in at the right time.

With a proper tweeting bot, you could take advantage of this script to tweet content with a hashtag to reach a huge audience and make your bot more smarter.