function fbconnect_register in Facebook Connect 5
Same name and namespace in other branches
- 6.2 fbconnect.module \fbconnect_register()
- 6 fbconnect.module \fbconnect_register()
Store user into table fbconnect
Parameters
integer $uid: Drupal user id
integer $fbuid: Facebook user id
2 calls to fbconnect_register()
- fbconnect_association_form_submit in ./
fbconnect.module - Handle post-validation association_Form submission.
- fbconnect_register_user in ./
fbconnect.module
File
- ./
fbconnect.module, line 904 - This module allows site visitors to connect and register with facebook account
Code
function fbconnect_register($uid, $fbuid) {
return db_query("REPLACE {fbconnect_users} (uid, fbuid, timestamp) VALUES (%d, %d, %d) ", $uid, $fbuid, time());
}