You are here

function fb_get_callback_url in Drupal for Facebook 5.2

Convenience method to get an apps callback URL.

TODO: This code will probably not handle every case and may need some work.

1 call to fb_get_callback_url()
fb_connect_footer in ./fb_connect.module
Include facebook javascript in the footer of the current page.

File

./fb.module, line 363

Code

function fb_get_callback_url($fb_app) {
  $url = url('', NULL, NULL, TRUE) . FB_SETTINGS_APP_NID . '/' . $fb_app->nid . '/';
  return $url;
}