You are here

function fb_devel_init in Drupal for Facebook 6.2

Same name and namespace in other branches
  1. 6.3 fb_devel.module \fb_devel_init()
  2. 7.3 fb_devel.module \fb_devel_init()

File

./fb_devel.module, line 39
Makes development with Drupal for Facebook much easier. Keep this module enabled until you're confident your app works perfectly.

Code

function fb_devel_init() {
  if (fb_verbose() === 'extreme') {
    if (arg(0) == 'fb_connect' && arg(1) == 'receiver') {

      // useful for tracking down tricky connect bugs.
      watchdog('fb_devel', "Facebook Connect receiver called" . "                                                       " . dpr($_REQUEST, 1));
    }
  }
}