Hi,
I am trying to use twitter package. I got below error while authentication.
> setup_twitter_oauth(api_key,api_secret,access_token, access_token_secret)
[1] "Using direct authentication"
Error in check_twitter_oauth() : OAuth authentication error:
This most likely means that you have incorrectly called setup_twitter_oauth()'
I am using windows machine. Please find below code and software details;
library("twitteR")
library(httr)
library(ROAuth)
download.file(url="http://curl.haxx.se/ca/cacert.pem", destfile="cacert.pem")
api_key <-"xxx"
api_secret <- "xxx"
access_token <- " xxx"
access_token_secret <- "xxx"
setup_twitter_oauth(api_key,api_secret,access_token, access_token_secret)
R version : Ri386 3.3.0R studio: 0.99.902
Thanks,Seema
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.