Get Bricks

How to get your Instagram Access Token

To use the Instagram Feed element (@since 1.9.1), you need an Instagram Basic Display API access token. This token allows secure retrieval of your Instagram account data.

Here is a detailed guide to help you obtain this token through the Meta for Developers platform:

Step 1: Set up an application

You first have to set up an application on the Meta for Developers platform by following these steps:

  1. Access your Meta for Developers platform. You can use an existing account or create a new one.
  2. Click “Create App”. A dialog window will appear, asking you to define your app’s functionalities. Select “Other” and click “Next”.
  3. Select “None” to set the app permissions and click “Next”.

Step 2: Create your application

Next, you need to provide specific details about your application:

  • The name of the app.
  • A contact email address.
  • Optionally, a link to a Business Manager Account if you have one.

Step 3: Set up Instagram Basic Display

Once your application is registered, the next step is configuring the Instagram Basic Display settings and adding a tester to generate the access token. Proceed as follows:

  1. Choose “Set Up” under Instagram Basic Display.
  2. In Basic Display settings, select “Create New App” at the bottom.
  3. Use the name defined earlier as the app name; it will appear automatically.

Step 4: Generate the access token

It’s time to create an access token using an Instagram tester (your IG account). Follow these steps:

  1. Visit the Basic Display section, to which you’ll be automatically redirected after app creation.
  2. Find and click the button in the “Add or Remove Instagram Testers” section.
  3. Insert the Instagram User ID (IG username) of the account you wish to add as a tester.

Next, log into the Instagram account associated with the username you added:

  1. Access the Instagram account.
  2. Navigate to Settings > Apps and Websites, and select the “Tester Invites” tab.
  3. Click “Accept” to confirm the invitation.

Next, return to the Meta for Developers dashboard:

  1. Locate your new app and proceed to Basic Display.
  2. Scroll to the User Token Generator Section and click “Generate Token”. You might be asked to re-login to the Instagram account to authorize specific permissions before generating the token.
  3. Copy the access token from the pop-up window.

Step 5: Add the access token to Bricks

To finalize the setup, navigate to Bricks > Settings > API keys from your WordPress dashboard and paste the access token into the Instagram Access Token input field, and save your changes.