All Collections
OAuth Setup Guides
Setting up Instagram OAuth App
Setting up Instagram OAuth App
B
Written by Ben Keeling
Updated over a week ago

Requirements

In order for Instagram accounts to be successfully imported into Medialake AI, you will need to add the account you wish to import as 'Test User' and they will need to accept the invitation in the Profile Icon > Edit Profile > Apps and Websites > Tester Invites section on the Instagram website.

Setting up OAuth for Instagram

If you have already set up a Meta developer account after following our Instagram integration guide, please skip to Step 2. The video tutorial below starts at Step 2.

Step 1: Creating a Meta developer account

  1. Visit the Meta for Developers page and log in to your Facebook account.

  2. Click on "Get started" at the top right of the page, and click on "Continue".

  3. Enter your email address you wish to use, and verify with the code they send to your email address or phone number.

  4. Select which role best suits you, and click on "Complete Registration"

Step 2: Create an Instagram App

  1. From the "My Apps" page click on "Create App."

  2. Click on "Other" from the list of what you want your app to do.

  3. Click on "Consumer" from the list of app types.

  4. Fill in the the app's name (Such as 'Medialake - Instagram'), App Contact email, and click "Create App ID." Do not fill in the Business Account field.

Step 3: Configure App Settings

  1. In your app's dashboard, scroll down until you see "Instagram Basic Display" and click on "Set Up".

  2. Click on the 'App Settings' panel in the navigation baron the left hand side, and then on 'Basic'.

  3. Please enter your Medialake domain in the APP domains field.

  4. At the bottom of the page click on the '+ Add Platform' bar, and then select website and click 'Next'.

  5. Now, in the new Website section at the bottom of the page, enter your domain again in the 'Site URL' section.

  6. Be sure to click the 'Save Changes' button in the bottom right of your page before leave.

Step 4: Configure Instagram Basic Display

  1. Under 'Instagram Basic Display' in the navigation bar, click on 'Basic Display'.

  2. At the bottom of the page, click on the 'Create New App' button.

  3. Fill out the Display name and click 'Create App'.

  4. Under the 'Client OAuth Settings' section enter the redirect link, which will look consist of your Medialake domain, followed by the subdirectory: 'https://'YOUR_DOMAIN'/instagram-redirect'

  5. Under the 'Deauthorize callback URL' and 'Data Deletion Requests' sections enter your Medialake domain again

  6. Then click 'Save' in the bottom right of the page.

Step 5: Add your Instagram accounts to Test Users

  1. Go back to 'Instagram Basic Display' and then 'Basic Display' in the navigation panel on the left hand side of the screen.

  2. Scroll down to the 'User Token Generator' section on the 'Instagram Basic Display' page, click on 'Add or Remove Instagram Testers'

  3. Select the 'Add People' button in the top right, and then select the 'Instagram Tester'.

  4. In the text box at the bottom, please enter the username(s) of the Instagram account(s) you wish to sync with the Medialake platform, and click 'Add'.

  5. The Instagram account invited will have to accept the invitation on the Instagram website.

  6. To do this the invited user should click on their Profile Icon > Edit Profile > Apps and Websites > Tester Invites and accept the invitation. This needs to be done in the browser, not on mobile.

Step 6: Make a note of the Client ID and Secret

  1. Under 'Instagram Basic Display' in the navigation bar, click on 'Basic Display'.

  2. Make a note of the 'Instagram App ID' and 'Instagram App Secret'.

  3. Make sure you are in the 'Instagram Basic Display' page and getting the client ID and Client Secret for the Instagram Basic Display, as the 'App ID' and 'App Secret' in the 'App settings' page are different and will not work when entered into our platform.

  4. Enter the 'App ID' and 'App Secret' into the settings page for the Instagram integration on the medialake.ai website.

Did this answer your question?