getExtraFacebookInfoCallback property

GetExtraFacebookInfoCallback? getExtraFacebookInfoCallback
final

Callback that can be used with the access token to extract additional information from Facebook Graph API.

This callback is invoked during FacebookIdpUtils.fetchAccountDetails, before the system determines if the user is new or returning. It runs on EVERY authentication attempt.

CRITICAL - Do NOT create these models in the callback:

Creating these models will cause the authentication flow in FacebookIdp.login to fail or skip critical steps like user profile creation.

Safe usage: Store data in your own custom tables, linked by FacebookAccountDetails.userIdentifier. Keep operations lightweight.

Implementation

final GetExtraFacebookInfoCallback? getExtraFacebookInfoCallback;