示例#1
0
文件: main.py 项目: willa75/multiblog
def facebook_login():
    return facebook.authorize(
        callback=url_for(
            '.facebook_authorized',
            next=request.referrer or None,
            _external=True
        )
    )
示例#2
0
def facebook_login():
    return facebook.authorize(
            callback=url_for(
                'main.facebook_authorized',
                next= None,
                _external=True
                )
            )