streamR
streamR copied to clipboard
Error: Authorization Required
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:
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
Same issue for me also