def get_authorization_url(self,<EOL>signin_with_twitter=False,<EOL>access_type=None):
try:<EOL><INDENT>if signin_with_twitter:<EOL><INDENT>url = self._get_oauth_url('<STR_LIT>')<EOL>if access_type:<EOL><INDENT>logging.warning(WARNING_MESSAGE)<EOL><DEDENT><DEDENT>else:<EOL><INDENT>url = self._get_oauth_url('<STR_LIT>')<EOL><DEDENT>self.request_token = self._get_request_token(access_type=access_type)<EOL>return self.oauth.authorization_url(url)<EOL><DEDENT>except Exception as e:<EOL><INDENT>raise TweepError(e)<EOL><DEDENT>
Get the authorization URL to redirect the user