InstagramApi constructor

InstagramApi(
  1. String identifier,
  2. String clientId,
  3. String clientSecret,
  4. String redirectUrl, {
  5. List<String>? scopes,
  6. Client? client,
  7. Converter? converter,
  8. AuthStorage? authStorage,
})

Implementation

InstagramApi(String identifier, String clientId, String clientSecret,
    String redirectUrl,
    {List<String>? scopes,
    http.Client? client,
    Converter? converter,
    AuthStorage? authStorage})
    : super(
          identifier,
          clientId,
          clientSecret,
          "https://api.instagram.com/oauth/access_token",
          "https://api.instagram.com/oauth/authorize",
          redirectUrl,
          client: client,
          scopes: scopes,
          converter: converter,
          authStorage: authStorage) {
  this.scopes = scopes ?? ["basic"];
}