login abstract method

Future<IFacebookLoginResult> login({
  1. List<String> permissions = const ['email', 'public_profile'],
  2. IFacebookLoginBehavior loginBehavior = IFacebookLoginBehavior.nativeWithFallback,
  3. IFacebookLoginTracking loginTracking = IFacebookLoginTracking.limited,
  4. String? nonce,
})

make a login request using the facebook SDK

permissions permissions like "email","public_profile"

loginBehavior (only Android) use this param to set the UI for the authentication, like webview, native app, or a dialog.

nonce a custom nonce

Implementation

Future<IFacebookLoginResult> login({
  List<String> permissions = const ['email', 'public_profile'],
  IFacebookLoginBehavior loginBehavior =
      IFacebookLoginBehavior.nativeWithFallback,
  IFacebookLoginTracking loginTracking = IFacebookLoginTracking.limited,
  String? nonce,
});