code: def deauthorize_application(request):
      if request.facebook:
          user = User.objects.get(
              facebook_id = request.facebook.signed_request.user.id
          )
          user.authorized = False
          user.save()
          return HttpResponse()
      else:
          return HttpResponse(status=400)