You are here

function fb_canvas_redirect in Drupal for Facebook 6.3

2 calls to fb_canvas_redirect()
fb_canvas_fb in ./fb_canvas.module
Implementation of hook_fb().
fb_canvas_goto in ./fb_canvas.module
Uses javascript on iframe canvas pages change top frame, otherwise drupal_goto().

File

./fb_canvas.module, line 204
This module provides support for Canvas page applications. Use Drupal to power traditional Facebook Apps.

Code

function fb_canvas_redirect($url) {
  echo "<script type=\"text/javascript\">\ntop.location.href = \"{$url}\";\n</script>";
  exit;
}