code: def get_authorize_url(self, redirect_uri, **kw):
          '''
          return the authorization url that the user should be redirected to.
          '''
          redirect = redirect_uri if redirect_uri else self._redirect_uri
          if not redirect:
              raise APIError('21305', 'Parameter absent: redirect_uri', 'OAuth2 request')
          response_type = kw.pop('response_type', 'code')
          return 'https://api.weibo.com/oauth2/authorize?%s' % \
                 _encode_params(client_id=self._client_id,
                                response_type=response_type,
                                redirect_uri=redirect, **kwf get_authorize_url(self, redirect_uri, **kw):
          '''
          return the authorization url that the user should be redirected to.
          '''
          redirect = redirect_uri if redirect_uri else self._redirect_uri
          if not redirect:
              raise APIError('21305', 'Parameter absent: redirect_uri', 'OAuth2 request')
          response_type = kw.pop('response_type', 'code')
          return 'https://api.weibo.com/oauth2/authorize?%s' % \
                 _encode_params(client_id=self._client_id,
                                response_type=response_type,
                                redirect_uri=redirect, **kw)
docs: return the authorization url that the user should be redirected to.