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
Visit the Meta for Developers page and log in to your Facebook account.
Click on "Get started" at the top right of the page, and click on "Continue".
Enter your email address you wish to use, and verify with the code they send to your email address or phone number.
Select which role best suits you, and click on "Complete Registration"
Step 2: Create an Instagram App
From the "My Apps" page click on "Create App."
Click on "Other" from the list of what you want your app to do.
Click on "Consumer" from the list of app types.
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
In your app's dashboard, scroll down until you see "Instagram Basic Display" and click on "Set Up".
Click on the 'App Settings' panel in the navigation baron the left hand side, and then on 'Basic'.
Please enter your Medialake domain in the APP domains field.
At the bottom of the page click on the '+ Add Platform' bar, and then select website and click 'Next'.
Now, in the new Website section at the bottom of the page, enter your domain again in the 'Site URL' section.
Be sure to click the 'Save Changes' button in the bottom right of your page before leave.
Step 4: Configure Instagram Basic Display
Under 'Instagram Basic Display' in the navigation bar, click on 'Basic Display'.
At the bottom of the page, click on the 'Create New App' button.
Fill out the Display name and click 'Create App'.
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'
Under the 'Deauthorize callback URL' and 'Data Deletion Requests' sections enter your Medialake domain again
Then click 'Save' in the bottom right of the page.
Step 5: Add your Instagram accounts to Test Users
Go back to 'Instagram Basic Display' and then 'Basic Display' in the navigation panel on the left hand side of the screen.
Scroll down to the 'User Token Generator' section on the 'Instagram Basic Display' page, click on 'Add or Remove Instagram Testers'
Select the 'Add People' button in the top right, and then select the 'Instagram Tester'.
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'.
The Instagram account invited will have to accept the invitation on the Instagram website.
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
Under 'Instagram Basic Display' in the navigation bar, click on 'Basic Display'.
Make a note of the 'Instagram App ID' and 'Instagram App Secret'.
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.
Enter the 'App ID' and 'App Secret' into the settings page for the Instagram integration on the medialake.ai website.