Instagram Extract authentication guide
This is a step-by-step guide to acquiring third-party credentials for authorizing the Instagram Extract connector for use in Matillion ETL.
This connector uses an OAuth for third-party authentication. OAuth tokens will eventually expire and require remaking. This is outside of Matillion's control. However, existing tokens may be extended or refreshed at any time.
While connector properties may differ between cloud data warehouses, the authentication process remains the same.
Prerequisites
Note
- Instagram uses the Facebook OAuth process for authentication. Therefore, a registered Facebook app must be linked to an Instagram business account.
- Begin the OAuth entry process as described in Manage OAuth. You should then configure this OAuth entry using your Facebook credentials, obtained as described below.
Acquiring Third-Party Credentials
-
Navigate to the Facebook Developer Portal (also known as Meta for Developers), click Log In on the top-right of the screen, and enter valid login credentials.
-
Once logged in, the Log In menu option will be replaced by My Apps. Click My Apps to open your Apps page, and then click Create App in the top-right.
-
On the Select an app type page, select the Business type, then click Next.
-
On the Add details page, provide details for the following fields, then click Create App:
- Display name – provide a name for the app, which will be used to identify it on the Apps page.
- App contact email – provide a contact email within your organization, to receive notifications and other communications regarding the app.
- Business account – From the drop-down list, select the business account that the app will be connected to. This is optional so it is normally fine to leave this field showing No Business Account selected, but certain app features will require the app to be connected to a business account.
Note
You must re-enter your password as a security check before moving on to the next step.
-
The browser will now show the Add products to your app screen. Locate the Facebook Login product, and click Set Up.
-
The Quickstart wizard will open. Use this to add Facebook Login to the app. Begin by selecting a platform for the app.
-
The wizard will reload with a block featuring a series of platform-specific questions and configurations. Follow the prompts and provide the required details. The details will vary depending on which platform you chose in the previous step. For this example, we have chosen Web.
-
Next, click on either Facebook Login or Facebook Login for Business, then Settings on the sidebar to open the Client OAuth Settings dialog. In the Valid OAuth Redirect URIs field, paste the callback (copied from the Manage OAuth dialog in Matillion ETL earlier). If you are using the Facebook Login for Business option, add
&scope=instagram_basic
to the end of the callback. Click Save changes in the bottom-right of the dialog. -
Click Add Product next to Products in the sidebar to return to the Add Products to Your App screen. In the list of products available for your app, find Marketing API, and click Set Up. This will take you to the Welcome to Marketing API page, but no further configuration is required here.
-
Click Settings then Basic on the sidebar and copy the credentials from both the App ID and App Secret fields. These will be required when configuring the OAuth in Matillion ETL in the next step.
Note
- To copy the App Secret, first click Show and enter your account password when prompted.
- When copying the credentials, some browsers may add a space to the end of the string. Watch out for this as it will cause the credentials to fail.
-
Now return to the Manage OAuth dialog in Matillion ETL to complete the OAuth configuration.
- When you complete the authorization process in Matillion ETL, you will be directed back to Facebook, where you must complete a few basic steps before the OAuth is fully authorized. When completed, the Facebook page will close and you will return to your METL instance.