function fb_get_uid in Drupal for Facebook 7.3
Same name and namespace in other branches
- 6.3 fb.module \fb_get_uid()
Given a facebook user id, learn the local uid, if any.
1 call to fb_get_uid()
- fb_user_view_page in ./
fb_user.module - Menu page callback. Send user to local profile page of a facebook user.
File
- ./
fb.module, line 1096 - This is the core required module of Drupal for Facebook.
Code
function fb_get_uid($fbu, $fb_app = NULL) {
$uid = NULL;
if ($fbu) {
$uid = fb_invoke(FB_OP_GET_UID, array(
'fbu' => $fbu,
'fb_app' => $fb_app,
));
}
return $uid;
}