I will guide you on how to build a word cloud from text data mined on Twitter using R . Do not worry this post is not about R and for those who are scared of programming I am working on a shiny app that will help you generate word cloud from Twitter and giving you the option to download it.
Visit this link to see the prototype https://gabrielmutua.shinyapps.io/word_cloud/ still under development.
The first step is to go to visit https://apps.twitter.com/ and create a new app. Note that you must have a Twitter account to create a Twitter App. After creating the app successfully you will be directed to this page.
![]() |
Rpraticemutua is the name of the App I have created |

The go to back to you Twitter app and go Key and Access tokens. This Access Tokens will authorize R to be connected to Twitter API.
![]() |
We will need this two keys |
![]() |
We will also require the following access tokens |

We will later clean the data and plot a word cloud on the next post. Note you can view the obtained tweets by viewing the object my_tweets.
No comments:
Post a Comment