Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Authorization Required #12

Open
CaptainKatsuura opened this issue Dec 26, 2017 · 1 comment
Open

Error: Authorization Required #12

CaptainKatsuura opened this issue Dec 26, 2017 · 1 comment

Comments

@CaptainKatsuura
Copy link

CaptainKatsuura commented Dec 26, 2017

Hi,

I'm attempting to use streamR but when running this part of my code:

`requestURL <- "https://api.twitter.com/oauth/request_token"
accessURL <- "https://api.twitter.com/oauth/access_token"
authURL <- "https://api.twitter.com/oauth/authorize"
consumerKey <- "mykey"
consumerSecret <- "mysecret"

my_oauth <- OAuthFactory$new(consumerKey = consumerKey,
consumerSecret = consumerSecret,
requestURL = requestURL,
accessURL = accessURL,
authURL = authURL)

my_oauth$handshake(cainfo = system.file("CurlSSL", "cacert.pem", package = "RCurl"))

save(my_oauth, file = "my_oauth.Rdata")`

i get "Error: Authorization Required"

and the following page shows up:

image

using the same consumerKey and consumerSecret for twitteR i don't seem to have any issues with authentication.

I googled this and it seems as though others have had this same issue but don't seem to have a clear solution.

Could somebody advise me one what the issue might be due to?

I've checked both the key and secret multiple times and am 100% sure they are correct.

Thanks

@kaladevip
Copy link

Same issue for me also

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants