FacebookApi constructor
FacebookApi(})
Implementation
FacebookApi(String identifier, String clientId, String clientSecret,
String redirectUrl,
{List<String>? scopes,
http.Client? client,
Converter? converter,
AuthStorage? authStorage})
: super.fromIdAndSecret(identifier, clientId, clientSecret,
client: client,
scopes: scopes,
converter: converter,
authStorage: authStorage) {
this.scopesRequired = false;
this.tokenUrl = "https://graph.facebook.com/v2.3/oauth/access_token";
this.baseUrl = "https://graph.facebook.com";
this.authorizationUrl = "https://m.facebook.com/dialog/oauth/";
this.redirectUrl = redirectUrl;
this.scopes = scopes ?? ["public_profile"];
}