'Redirect to Facebook\'s oAuth dialog'

def oauth_redirect(self, oauth_url, redirect_uri, e=None):

    logger.info(u'requesting    access    with    redirect    uri:    %s,    error    was    %s', redirect_uri, e)
    script_redirect = False
    if (self.canvas or self.page_tab):
        script_redirect = True
    response = response_redirect(oauth_url, script_redirect=script_redirect)
    return response
