parameters: (self, url, **kwargs)
docstring: For Facebook canvas pages we should use <fb:redirect /> instead of
          a normal redirect.
docstring_summary: For Facebook canvas pages we should use <fb:redirect /> instead of
          a normal redirect.
docstring_tokens: For Facebook canvas pages we should use <fb : redirect / > instead of a normal redirect .
function: def redirect(self, url, **kwargs):
          """
          For Facebook canvas pages we should use <fb:redirect /> instead of
          a normal redirect.
          """
          if self.facebook.in_canvas:
              self.response.clear()
              self.response.out.write('<fb:redirect url="%s" />' % (url, ))
          else:
              super(FacebookRequestHandler, self).redirect(url, **kwargs)
function_tokens: def redirect ( self , url , * * kwargs ) : if self . facebook . in_canvas : self . response . clear ( ) self . response . out . write ( '<fb:redirect url="%s" />' % ( url , ) ) else : super ( FacebookRequestHandler , self ) . redirect ( url , * * kwargs )