@facebook_required(scope=['publish_actions', 'user_status'])
def decorator_example_scope(request, graph):
 if graph:
  return HttpResponse('authorized')
 else:
  return HttpResponse('user denied or error')

@ facebook_required ( scope = [ 'publish_actions' , 'user_status' ] ) def decorator_example_scope ( request , graph ) : if graph : return HttpResponse ( 'authorized' ) else : return HttpResponse ( 'user denied or error' )
same as above .