# coding: utf-8

from flask import request
from functools import wraps


def facebook_id_required(func):
    @wraps(func)
    def wrapper(*args, **kwargs):
        facebook_id = request.form.get('facebook_id', None)
        if facebook_id is None:
            return {'error': 'You must sent facebook_id.'}, 400
        kwargs['facebook_id'] = facebook_id
        return func(*args, **kwargs)
    return wrapper

52581019b6bf6ef42521aa2a5545aefcacb4c471
<mask token>

<mask token>


def facebook_id_required(func):

    @wraps(func)
    def wrapper(*args, **kwargs):
        facebook_id = request.form.get('facebook_id', None)
        if facebook_id is None:
            return {'error': 'You must sent facebook_id.'}, 400
        kwargs['facebook_id'] = facebook_id
        return func(*args, **kwargs)
    return wrapper

from flask import request
from functools import wraps


def facebook_id_required(func):

    @wraps(func)
    def wrapper(*args, **kwargs):
        facebook_id = request.form.get('facebook_id', None)
        if facebook_id is None:
            return {'error': 'You must sent facebook_id.'}, 400
        kwargs['facebook_id'] = facebook_id
        return func(*args, **kwargs)
    return wrapper

# coding: utf-8

from flask import request
from functools import wraps


def facebook_id_required(func):
    @wraps(func)
    def wrapper(*args, **kwargs):
        facebook_id = request.form.get('facebook_id', None)
        if facebook_id is None:
            return {'error': 'You must sent facebook_id.'}, 400
        kwargs['facebook_id'] = facebook_id
        return func(*args, **kwargs)
    return wrapper
