FlutterFacebookAuthPlugin class

A web implementation of the FlutterFacebookAuth plugin.

Inheritance
  • Object
  • PlatformInterface
  • FlutterFacebookAuthPlugin

Constructors

FlutterFacebookAuthPlugin()

Properties

accessToken Future<AccessToken?>
calls the FB.getLoginStatus interop
no setter
hashCode int
The hash code for this object.
no setterinherited
isAutoLogAppEventsEnabled Future<bool>
ONLY FOR iOS: check if AutoLogAppEvents are enabled
no setter
isWebSdkInitialized bool
use this to know if the facebook sdk was initializated on Web on Android and iOS is always true
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

autoLogAppEventsEnabled(bool enabled) Future<void>
ONLY FOR iOS: enable or disable AutoLogAppEvents
expressLogin() Future<LoginResult>
express login is only available on Android
getUserData({String fields = "name,email,picture.width(200)"}) Future<Map<String, dynamic>>
get the user profile information
login({List<String> permissions = const ['email', 'public_profile'], LoginBehavior loginBehavior = LoginBehavior.dialogOnly, LoginTracking loginTracking = LoginTracking.enabled, String? nonce}) Future<LoginResult>
calls the FB.login interop
logOut() Future<void>
calls the FB.logout interop
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
webAndDesktopInitialize({required String appId, required bool cookie, required bool xfbml, required String version}) Future<void>
initialiaze the facebook javascript SDK

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

registerWith(Registrar registrar) → void