ROauth PIN generation protocol for twitter handshake is leading to page doesn't exist error


For creating a twitter application, I am using R-3.1.1, RStudio Version 0.98.983 and the updated packages twitteR (installed from github), RCurl, digest and ROauth. I am following the ROauth protocol and not the twitteR package from Hadley Wickam’s github repo because I want to use the object for the streamR functions such as filterstream.

twitCred<-OAuthFactory$new(consumerKey=consumerKey, consumerSecret=consumerSecret,  requestURL=reqURL,  accessURL=accessURL, authURL=authURL)
download.file(url="",  destfile="cacert.pem")

To enable the connection, please direct your web browser to:
When complete, record the PIN given to you and provide it here:

The problem is that on using ROAuth, the web URL address generated by R (to get the PIN) redirects me to a webpage saying that “Sorry that page does not exist”.

Since I am testing my application, I used the IP address of my localhost appended with :1410 as my callback URL. I have used a similar protocol previously without errors and I don’t see any answers for this message. What am I doing wrong?


As per suggestions, I put 1.1 in the URL to read
Now the error that I get is “Bad authentication data”. Can someone decode this message for me?