function fb_is_app_user in Drupal for Facebook 6.2
Facebook provides a method, users_isAppUser(), which is buggy and unreliable. So we need to implement our own.
File
- ./
fb.module, line 387
Code
function fb_is_app_user($fb) {
if ($fb->api_client->added || $fb->api_client->is_user) {
return TRUE;
}
else {
return $fb->api_client->users_isAppUser;
}
}