Questions tagged [roauth]

ROAuth is an R package that "provides an interface to the OAuth 1.0 specification, allowing users to authenticate via OAuth to the server of their choice."

Documentation for ROAuth is available here. Questions about OAuth should be tagged .

26 questions
4
votes
1 answer

How to use OAuth at XING with R

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 <-…
christoph
  • 76
  • 1
  • 4
4
votes
1 answer

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

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…
Clair Crossupton
  • 1,332
  • 2
  • 10
  • 16
3
votes
1 answer

Unauthorized error with ROAuth

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" >…
3
votes
1 answer

Creating a persistant connection to twitter stream API using R

I am presently using the streamR package in R to stream tweets from the filter stream in twitter. I have a handshaken ROAuth object that I use for this. My piece of code looks like: # load the Twitter auth…
jackStinger
  • 2,035
  • 5
  • 23
  • 36
2
votes
2 answers

Error in check_twitter_oauth() : OAuth authentication error:

I am getting the below setup_twitter_oauth() error repeatedly when I am trying to set up OAuth authorization for twitteR > setup_twitter_oauth("XXXXXXXXXX", "XXXXXXXXX", "XXXXXX", "XXXXXXXX") [1] "Using direct authentication" Error in…
somnathchakrabarti
  • 3,026
  • 10
  • 69
  • 92
2
votes
2 answers

twitteR ROAuth handshake error: not generating the PIN option

This question actually answers all questions related to twitteR ROAuth problems: TwitteR, ROAuth and Windows: register OK, but certificate verify failed TwitteR and ROAuth both worked perfectly in my pc before. But the code chunk is not generating…
S Das
  • 3,291
  • 6
  • 26
  • 41
2
votes
1 answer

No PIN generated when using ROAuth to authenticate on Twitter

I'm trying to authenticate with Twitter using R, but I can't get a PIN. The code I have is as follows: download.file(url="http://curl.haxx.se/ca/cacert.pem", destfile="cacert.pem") reqURL <- "http://api.twitter.com/oauth/request_token" accessURL <-…
JamesF
  • 449
  • 1
  • 3
  • 15
2
votes
1 answer

Where does twitteR PIN code appear during R oauth authentication?

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 = …
Phil A
  • 51
  • 2
  • 6
1
vote
0 answers

Cannot get the PIN to connect with twitter

library(RCurl) library(ROAuth) consumerKey = "###" reqURL = "https://api.twitter.com/oauth/request_token" accessURL = "https://api.twitter.com/oauth/access_token" authURL = "https://api.twitter.com/oauth/authorize" …
Jyothi
  • 11
  • 3
1
vote
2 answers

Access to Twitter Streaming APIs Using R using streamR & ROAuth

I am attempting to connect to Twitter's Streaming API in R. My code (including a fake consumer key and secret) is as follows: library(streamR) library(ROAuth) requestURL <- "https://api.twitter.com/oauth/request_token" accessURL <-…
waxattax
  • 357
  • 2
  • 12
1
vote
2 answers

401 Unauthorized error using streamR

I am trying to connect to twitter's streaming API using streamR and the required ROAuth package. I follow the exact procedure from the documentation here, but when I have finished all the steps with no errors I receive a 401 Unauthorized error when…
data paRty
  • 218
  • 1
  • 7
1
vote
2 answers

Failed with error: ‘package ‘sentiment’ was built before R 3.0.0: please re-install it’

I am trying to run the snaMIC.R script which is doing sentiment analysis on twitter data. But it is failing with an error saying package sentiment was built before R 3.0.0: please re-install. I am using R-3.1.0 i386 (32 bits win). Another thing that…
somnathchakrabarti
  • 3,026
  • 10
  • 69
  • 92
1
vote
1 answer

OAuth with httr package and twitter API v1.1

I'm trying to follow the demo in the httr package to authorize myself with twitter. However, using the code in the demo only produces this error: Response [https://api.twitter.com/1/statuses/home_timeline.json] Status: 410 Content-type:…
user2987808
  • 1,387
  • 1
  • 12
  • 28
1
vote
3 answers

twitteR Proxy Authentication with ROAuth

I am trying to use twitteR package from RStudio. However i am getting an error: 'Proxy Authentication required' and some times - 'cannot find the host'. There are many threads with the same problem. I have tried everything (--internet2,R by…
Prasanna Nandakumar
  • 4,295
  • 34
  • 63
1
vote
0 answers

How to select link during ROAuth step in RStudio?

Sorry for asking a newbie question. I'm trying to do R sentiment analysis in RStudio. I could get the ROAuth script to work, but during this phase: To enable the connection, please direct your web browser to:…
Amit Kohli
  • 2,860
  • 2
  • 24
  • 44
1
2