You are here

Deprecated in Simple FB Connect 7.2

Primary tabs

Examples: "before Drupal 9", "in Drupal 8.4"
Namesort descending Location Type Deprecation Direct uses Namespaced uses Overrides Use statements
hook_simple_fb_connect_register_alter ./simple_fb_connect.api.php 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.

Other projects