JDBC Driver for Instagram

Build 25.0.9434

GetOAuthAccessToken

Fetches the OAuth Access Token, which is used to authenticate and authorize API calls made to Azure Active Directory.

Input

Name Type Description
AuthMode String Specifies the authentication flow used to obtain the OAuth token. The valid values include APP for server-to-server communication and WEB for user-agent-based flows involving redirection to the Instagram login page.
Verifier String The one-time verification code returned by Instagram when using the Web authentication mode. It is required to exchange the authorization grant for an access token and must be passed exactly as received from the authorization redirect.
Scope String Defines the set of permissions the application is requesting access to. Each scope grants specific access to Instagram user data or functionality, such as reading media or posting comments.
CallbackUrl String The full URL where the user is redirected after granting or denying access. This must match the redirect URI configured in your Instagram app settings and is used to receive the authorization code or error message.
State String An opaque string value used to maintain state between the request and callback. It is returned as-is to the callback URL. This field can be used for correlating requests, directing users to specific resources post-login, or preventing cross-site request forgery attacks.

Result Set Columns

Name Type Description
OAuthAccessToken String The OAuth Access Token used to authenticate API requests with Azure Active Directory.
OAuthRefreshToken String The OAuth Refresh Token used to obtain a new access token when the current one expires.
ExpiresIn String Indicates the remaining lifetime of the access token in seconds. A value of -1 means the token does not expire.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434