twitteR handshake Error: unotherized
I am getting a strange issue with twitteR …
When I try to do the handshake, the prompt to get the PIN is not waiting
enough to get the pin … after couple of seconds, it says "Error:
Unauthorized". I have pasted the session info in the end.
credential <-
OAuthFactory$new(consumerKey="key",consumerSecret="key",requestURL="https://api.twitter.com/oauth/request_token"
,accessURL="https://api.twitter.com/oauth/access_token",authURL="https://api.twitter.com/oauth/authorize"
;) ;
credential$handshake(cainfo="cacert.pem")
To enable the connection, please direct your web browser to:
https://api.twitter.com/oauth/authorize?oauth_token=a8fLZZmWR2NnAtnL9uYlVZf11ntaKrO1SvNJmrzkPwg
When complete, record the PIN given to you and provide it here:
Error: Unauthorized
Session Info:
R version 3.0.1 (2013-05-16)
Platform: x86_64-w64-mingw32/x64 (64-bit)
locale:
[1] LC_COLLATE=English_United Kingdom.1252 LC_CTYPE=English_United
Kingdom.1252
[3] LC_MONETARY=English_United Kingdom.1252 LC_NUMERIC=C
[5] LC_TIME=English_United Kingdom.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] twitteR_1.1.7 rjson_0.2.12 ROAuth_0.9.3 digest_0.6.3 RJSONIO_1.0-3
RCurl_1.95-4.1
[7] bitops_1.0-5
loaded via a namespace (and not attached):
[1] tools_3.0.1
No comments:
Post a Comment