Q:

twitteR authorization - cannot get PIN

I would like to use twitteR and am trying to get my pin number so that I can complete the authorization. There appears to be no error in the code:
library(twitteR)
reqURL<-"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"
twitCred<-OAuthFactory$new(consumerKey=consumerKey, 
                   consumerSecret=consumerSecret, 
                   requestURL=reqURL,
                   accessURL=accessURL,
                   authURL=authURL)
twitCred$handshake()

I receive the URL to type in a web browser:https://api.twitter.com/oauth.authorize?oauth_token=LettersaNdNumbErs
but I get a twitter page saying that page doesn't exist! I've tried with and without the "s" in https:// but I get the same result. Any ideas what I could be doing wrong? I am using a mac with JGR (you can copy and paste the URL) and RStudio (have to type URL by hand, so to speak).

A:

You accidentally put a dot instead of a slash, try this instead:
authURL <- https://api.twitter.com/oauth/authorize
And that should bring up the link to the twitter developer page to authorize your application

