public RequestToken retrieveRequestToken ( String callbackURL ) { OAuthConsumer consumer = new DefaultOAuthConsumer ( info . key . key , info . key . secret ) ; try { provider . retrieveRequestToken ( consumer , callbackURL ) ; return new RequestToken ( consumer . getToken ( ) , consumer . getTokenSecret ( ) ) ; } catch ( OAuthException ex ) { throw new RuntimeException ( ex ) ; } }
Request the request token and secret .