roauth

Unauthorized error with ROAuth

我只是一个虾纸丫 提交于 2020-01-14 19:10:56
问题 I am using the streamR package to pull tweets from the Twitter Streaming API. This was working fine till recently. Now - I am getting the error whenever I do a handshake. > library(ROAuth) > reqURL <- "https://api.twitter.com/oauth/request_token" > accessURL <- "https://api.twitter.com/oauth/access_token" > authURL <- "https://api.twitter.com/oauth/authorize" > consumerKey <- "<myconsumerkey>" > consumerSecret <- "myconsumersecret>" > my_oauth <- OAuthFactory$new(consumerKey=consumerKey

Unauthorized error with ROAuth

北城余情 提交于 2020-01-14 19:10:29
问题 I am using the streamR package to pull tweets from the Twitter Streaming API. This was working fine till recently. Now - I am getting the error whenever I do a handshake. > library(ROAuth) > reqURL <- "https://api.twitter.com/oauth/request_token" > accessURL <- "https://api.twitter.com/oauth/access_token" > authURL <- "https://api.twitter.com/oauth/authorize" > consumerKey <- "<myconsumerkey>" > consumerSecret <- "myconsumersecret>" > my_oauth <- OAuthFactory$new(consumerKey=consumerKey

How to use OAuth at XING with R

我们两清 提交于 2019-12-07 10:20:06
问题 I'm trying to authenticate to the XING API (api.xing.com) using ROAuth (v0.9.2). library(package="RCurl") library(package="ROAuth") site <- "https://api.xing.com" requestTokenPath <- "/v1/request_token" accessTokenPath <- "/v1/access_token" authorizePath <- "/v1/authorize" consumerKey <- "***********" # blank key for posting consumerSecret <- "********" # blank key for posting requestURL <- paste(site, requestTokenPath, sep="") accessURL <- paste(site, accessTokenPath, sep="") authURL <-

Avoid The PIN step in ROAuth handshake if I'm the only user?

北城余情 提交于 2019-12-06 04:27:57
问题 Question : Is there a way to avoid having to manually enter a PIN when doing an OAuth handshake? Context : When making a ROAuth handshake, I am asked to enter a PIN which I obtain by following a link: rm(list=ls()) library("twitteR") library("ROAuth") Credentials <- OAuthFactory$new( consumerKey = "...", consumerSecret = "...", oauthKey = "...", oauthSecret = "...", requestURL = "https://api.twitter.com/oauth/request_token", authURL = "https://api.twitter.com/oauth/authorize", accessURL =

How to use OAuth at XING with R

那年仲夏 提交于 2019-12-05 13:39:40
I'm trying to authenticate to the XING API (api.xing.com) using ROAuth (v0.9.2). library(package="RCurl") library(package="ROAuth") site <- "https://api.xing.com" requestTokenPath <- "/v1/request_token" accessTokenPath <- "/v1/access_token" authorizePath <- "/v1/authorize" consumerKey <- "***********" # blank key for posting consumerSecret <- "********" # blank key for posting requestURL <- paste(site, requestTokenPath, sep="") accessURL <- paste(site, accessTokenPath, sep="") authURL <- paste(site, authorizePath, sep="") credentials <- OAuthFactory$new(consumerKey=consumerKey, consumerSecret

Avoid The PIN step in ROAuth handshake if I'm the only user?

爷,独闯天下 提交于 2019-12-04 12:12:41
Question : Is there a way to avoid having to manually enter a PIN when doing an OAuth handshake? Context : When making a ROAuth handshake, I am asked to enter a PIN which I obtain by following a link: rm(list=ls()) library("twitteR") library("ROAuth") Credentials <- OAuthFactory$new( consumerKey = "...", consumerSecret = "...", oauthKey = "...", oauthSecret = "...", requestURL = "https://api.twitter.com/oauth/request_token", authURL = "https://api.twitter.com/oauth/authorize", accessURL = "https://api.twitter.com/oauth/access_token") Credentials$handshake(cainfo = system.file("CurlSSL",

Where does twitteR PIN code appear during R oauth authentication?

独自空忆成欢 提交于 2019-12-01 00:26:55
I’m trying to use the twitteR package as I’ve gotten to the Twitter chapter in Jeffrey Stanton’s free e-book on Data science. I use this code to register my credentials: requestURL <- "https://api.twitter.com/oauth/request_token" accessURL = "https://api.twitter.com/oauth/access_token" authURL = "https://api.twitter.com/oauth/authorize" consumerKey = "------------" consumerSecret = "-----------" twitCred <- OAuthFactory$new(consumerKey=consumerKey, consumerSecret=consumerSecret, requestURL=requestURL, accessURL=accessURL, authURL=authURL) download.file(url="http://curl.haxx.se/ca/cacert.pem",

Where does twitteR PIN code appear during R oauth authentication?

喜欢而已 提交于 2019-11-30 19:19:16
问题 I’m trying to use the twitteR package as I’ve gotten to the Twitter chapter in Jeffrey Stanton’s free e-book on Data science. I use this code to register my credentials: requestURL <- "https://api.twitter.com/oauth/request_token" accessURL = "https://api.twitter.com/oauth/access_token" authURL = "https://api.twitter.com/oauth/authorize" consumerKey = "------------" consumerSecret = "-----------" twitCred <- OAuthFactory$new(consumerKey=consumerKey, consumerSecret=consumerSecret, requestURL