public String getAuthorizationUrl ( OAuth1RequestToken oAuthRequestToken , Permission permission ) { OAuth10aService service = new ServiceBuilder ( apiKey ) . apiSecret ( sharedSecret ) . build ( FlickrApi . instance ( ) ) ; String authorizationUrl = service . getAuthorizationUrl ( oAuthRequestToken ) ; return String . format ( "%s&perms=%s" , authorizationUrl , permission . toString ( ) ) ; }
Get the auth URL this is step two of authorization .