Facebook Graph API Changes
As of August 1, 2018, Facebook has changed the Facebook Graph API permissions and fields that can be requested. Auth0 has updated Facebook Connections to reflect these changes and modified the connection interface for clarity. See Facebook Login Changelog: Recent Changes to Facebook Login for complete details and key dates.
The update may not require changes to your code or configuration, but your application might receive additional profile data if the existing permissions allow it. Keep in mind that:
If your Facebook connection is configured to request one of the removed permissions, your Access Token will not get them in scope.
If your Facebook application is marked as "development" then you may still see an error temporarily while trying the connection.
If you add new permissions to the connection, end users will be prompted for consent next time they log in. See the Facebook documentation for how to handle actions for users that don't have a specific permission.
Facebook login permissions
Facebook Login permissions are requested by your application when a user logs in using Facebook. If the user is logging in for the first time or if the permissions have changed, they will be shown a consent window in Facebook showing the new permissions requested. Once those permissions are granted, your application can then act on behalf of that user with a Facebook access token.
The Facebook Connection interface has been updated to show both the regular name as well as the machine name for all permissions displayed. This makes it easier to find the permissions you need and map that to any code you might be running using these permission names.
The following permissions were added to the Facebook connection interface:
The following permissions were removed from the Facebook connection interface:
Permissions moved to deprecated
The following permissions were moved to the Deprecated section and should not be used with the latest version of the Graph API:
Facebook Graph API fields
The Facebook Graph API is used after a user logs in to retrieve profile data for the Auth0 user. The user data permissions requested determine what information is retrieved from the Graph API. The fields that are returned depend on the permissions requested and the existence of those fields in the Facebook user profile.
This change upgraded the Graph API from v2.8 to v3.2 and will ask for the following user data fields on login: