Deprecated in Simple FB Connect 7.2
Primary tabs
- Simple FB Connect 7.2(active tab)
- Simple FB Connect 7
- Simple FB Connect 8.2
- Simple FB Connect 8.3
- Simple FB Connect 8
Name![]() |
Location | Type | Deprecation | Direct uses | Namespaced uses | Overrides | Use statements |
---|---|---|---|---|---|---|---|
hook_simple_fb_connect_register_alter |
./ |
function | This function is deprecated. This hook is deprecated but has not been removed for backwards compatibility. Facebook changed their API in version 2.4 so that we have to explicitly list the fields that we want Facebook to return in the /me query (previously Facebook returned all user fields). If you want to map Facebook fields to Drupal user fields, implement either hook_simple_fb_connect_registration or hook_simple_fb_connect_login and make call Facebook API for the desired field there. Example is provided in hook_simple_fb_connect_registration. |