Instagram API (token)

XStore 9.4.5 introduces a tokenized integration method, designed to facilitate the transition from Instagram Graph API to Instagram Business Display. This innovative approach utilizes tokens instead of relying on a dedicated app for integration. This change has been implemented in response to ongoing adjustments and reviews on META’s side. By employing tokens, the integration becomes less reliant on a specific app, thereby reducing the risk of unexpected issues or downtime resulting from changes or updates to the app. This ensures a more robust and dependable integration.

To guide you through this transition, we’ve outlined a straightforward process to create an Instagram access token in just several simple steps. These steps involve leveraging your Instagram account and the resources provided by Facebook Developers. You will be instructed on how to create an app on the Facebook Developer platform, configure Instagram Business Display, and generate your Instagram access token.

Initially, transitioning to a token-based connection may appear somewhat daunting, but there’s no need to be apprehensive. Once you become familiar with the process, you’ll discover that tokenized integration is a user-friendly and efficient solution.

Step 1: Login and add a New App on Facebook Developers #

Meta for Developers

After logging in, click the “My Apps” button as shown in the screenshot.

On the open page, click “Create App.”

Once you click this button, you’ll be asked to choose the purpose of your app. This determines the permissions your app will require. In this case, select the “Business” option as shown below. Click the next button.

 
Upon clicking this button, you’ll encounter a prompt to specify the intended function of your application. This choice dictates the permissions your app will need. For this scenario, opt for the ‘None’ alternative, as indicated below. Then, proceed by selecting the next button.
 
 
Following that, furnish a title for your application within the ‘Add an app name’ text box. Include your email address and choose a Business Manager if applicable. Once you’ve completed these steps, conclude by selecting the ‘Create App’ button.
Hooray! You’ve effectively established a brand new application within Facebook Developers. The next step involves configuring the Instagram Business API, enabling your app to access details from your Instagram account, including profile information, photos, and videos. Continue to the subsequent stage to acquire guidance on configuring Instagram Business Display.

Step 2: Configure Instagram Business Display #

You will be taken to the Instagram API setup page. From here press the “Add account” button in the “Generate access token” sections

Step 3: Generate Your Instagram Access Token #

After adding your account, we’ll proceed and generate a token for it

A pop-up will appear asking you to log in to your Instagram account and allow the App you’ve just created.

Step 4: Entering the token into the XStore admin panel. #

Log in to the WordPress admin panel and navigate to the XStore panel -> API Integrations -> Instagram Accounts. Paste the code you received earlier into the “Enter a valid Instagram access token” field and click the “Connect” button.

After this, you can select your Instagram user in the settings of elements and widgets on your website.

The following privacy settings must be configured in Instagram in order for the API (Instagram Graph API / Business API) to return the number of likes (like_count) and comments (comments_count):

The “Hide like count” option should not be enabled when publishing posts.
Although this setting primarily affects UI visibility, it may result in limitations or missing like_count data in API responses.

The account must be public (not private).
The API does not return engagement data (likes/comments) for private accounts without explicit OAuth authorization, and in most cases API requirements do not allow access to such data.

The account must be a professional account (Business or Creator).
Instagram Graph API works only with Business or Creator accounts and does not support personal private accounts.

Comments must be enabled in account settings.
If comments are globally disabled, the API will not be able to return comment data or the comments_count.
(This is not a separate API rule, but a general limitation: disabled features may not be available in API responses.)

Updated on January 16, 2026
Was this Article helpful?