Beispiel #1
0
def facebook_login():
    return facebook.authorize(
        callback=url_for(
            '.facebook_authorized',
            next=request.referrer or None,
            _external=True
        )
    )
Beispiel #2
0
def facebook_login():
    return facebook.authorize(
            callback=url_for(
                'main.facebook_authorized',
                next= None,
                _external=True
                )
            )