Trends Extraction
Create a twitter account. Sign up and sign in. Click on to the manage apps. Create a new application with name and description. Create the access token and note the Consumer token and Consumer Secret. Refer the following link to create a Twitter API to extract tweets. with pictorial explanation. https://iag.me/socialmedia/how-to-create-a-twitter-app-in-8-easy-steps/ The package to be used to extract the current Twitter trends using R tool is, twitteR - it provides interface to the Twitter API. library(twitteR) As the next step, we have to set the WOEID (Where On Earth IDentifier). For India, the WOEID is 23424848 woeid <- 23424848 The next step is to set up the Twitter Authentication. For this, we need, API Key, API Secret, Consumer Key and Consumer Secret. api_key <- "xxxxxxx" api_secret <- "xxxxxxx" consumer_key <- "xxxxxxx" consumer_secret <- "xxxxxxx" Set up the direct authentication usin...