#Hunger What Twitter Thinks ?

Last week, I became a part of this cool programme in Munich, called CDTM, which focuses on empowering the next generation of entrepreneurs. As the first phase of our CDTM journey, we will be working along side with World Food Programme (WFP), identifying current trends about one of the most globally important crisis, HUNGER!

In this digital era, what could be the best platform to identify the social trends ? The answer would be ... Twitter and Facebook! This is a very simple attempt to textually visualize what twitter thinks about our topic, hunger.  Unfortunately twitter api has a limit of 7 days, which means you cannot extract tweets older than a week.

Following script is quite self explanatory. It uses the twython python package to deal with the twitter api. It ignores the retweets and excludes some obvious words (such as 'hunger' which is our topic itself) from the final result. To try out the script you need a twitter app registered which will give you necessary access/secret keys which I have marked down with 'XXX'. 


Here is the resulting word cloud...

(Word cloud was created using wordle.net)

Comments

Popular Posts