Created
July 15, 2014 15:47
-
-
Save yrochat/a217fd9c24b655fa78b7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rm(list=ls()) | |
library(twitteR) | |
library(httr) | |
# 1. Find OAuth settings for twitter: | |
# https://dev.twitter.com/docs/auth/oauth | |
oauth_endpoints("twitter") | |
Sys.setenv(TWITTER_CONSUMER_SECRET = "") | |
# 2. Register an application at https://apps.twitter.com/ | |
# Insert your values below - if secret is omitted, it will look it up in | |
# the TWITTER_CONSUMER_SECRET environmental variable. | |
monapplicationpourROAuth <- oauth_app("twitter", key = "") | |
apikey<- "" | |
apisecret<- "" | |
accesstoken<- "" | |
accesstokensecret<- "" | |
setup_twitter_oauth(apikey, apisecret, accesstoken, accesstokensecret) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment