def _on_facebook_request(self, future, response):
        if response.error:
            future.set_exception(AuthError("Error response %s fetching %s" %
                                           (response.error, response.request.url)))
            return

        future.set_result(escape.json_decode(response.body))
dataset/ETHPy150Open D-L/SimpleBookMarks/src/tornado/auth.py/FacebookGraphMixin._on_facebook_request/original