function fbconnect_get_fbuid in Facebook Connect 5
Same name and namespace in other branches
- 8.2 fbconnect.module \fbconnect_get_fbuid()
- 6.2 fbconnect.module \fbconnect_get_fbuid()
- 6 fbconnect.module \fbconnect_get_fbuid()
- 7.2 fbconnect.module \fbconnect_get_fbuid()
Check facebook session.
Return value
integer facebook user id
18 calls to fbconnect_get_fbuid()
- fbconnect_association_form_submit in ./
fbconnect.module - Handle post-validation association_Form submission.
- fbconnect_autoconnect_form_validate in ./
fbconnect.module - fbconnect_block in ./
fbconnect.module - Implementation of hook_block().
- fbconnect_block_render in ./
fbconnect.module - Render data for fbconnect block
- fbconnect_form_alter in ./
fbconnect.module - Impletementation of hook_form_alter.
File
- ./
fbconnect.module, line 874 - This module allows site visitors to connect and register with facebook account
Code
function fbconnect_get_fbuid() {
if (facebook_client()) {
return facebook_client()
->get_loggedin_user();
}
}