You are here

function hook_simple_fb_connect_login in Simple FB Connect 7.2

This hook allows other modules to act on Facebook login.

There is also a Rules event triggered that can be used to react on user login via Simple FB Connect.

Parameters

$drupal_user: Drupal user that was just logged in via Simple FB Connect.

1 invocation of hook_simple_fb_connect_login()
simple_fb_connect_login_user in ./simple_fb_connect.module
Logs the given user in.

File

./simple_fb_connect.api.php, line 69
Hooks provided by the Simple FB Connect module.

Code

function hook_simple_fb_connect_login($drupal_user) {

  // Implement this hook in your own module to act on Facebook login.
  // See hook_simple_fb_connect_registration for an example on how to make
  // additional queries to Facebook API.
  // If you modify the $drupal_user, remember to save it with user_save.
}