How to correctly generate an Instagram token in Meta: real 2026 guide with the errors nobody documents

How to correctly generate an Instagram token in Meta: real 2026 guide with the errors nobody documents

After hours of fighting with the Meta Developers interface, this is the definitive guide that actually works today to get a valid token that allows a messaging platform to receive and send Instagram messages. With the real errors, the token prefixes that indicate problems, and the only path that returns a usable token.

Most guides about Instagram tokens in Meta are outdated. They take you through a screen called 'API Setup' that generates tokens with prefix IGAAQ.... Those tokens don't work. The API that emits them has been officially dead since December 4, 2024. But Meta's UI keeps letting you generate them, which turns this process into a legacy trap that makes anyone integrating Instagram for the first time waste hours.

This article documents the only path that works today to get a valid Instagram token via Meta, with the real errors we encountered integrating ChatBridge (multichannel messaging SaaS platform).

The golden rule before starting:

If your token starts with IGAA, it's dead. Don't use it.

If it starts with IGQ, it works but with limitations (only consumer apps without FB Page).

If it starts with EAA, it's the correct one for enterprise cases.

 

The initial problem: the IGAA token that doesn't work

The most obvious path anyone follows when starting is this: on developers.facebook.com, in your app, you navigate to Products → Instagram → 'API Setup' (URL ending in /instagram-business/API-Setup/). In the '1. Generate access identifiers' section you click the 'Generate identifier' button. Meta returns you a token of about 180 characters that starts with IGAAQ....

You try to validate it against Graph API and receive:

{
  "error": {
    "message": "Invalid OAuth access token - Cannot parse access token",
    "type": "OAuthException",
    "code": 190
  }
}

The token does not work on any subsequent calls. Neither GET /me, nor GET /{instagram_account_id}, nor sending messages.

The cause: that button inside "API Setup" issues tokens from the Instagram Basic Display API, which Meta officially deprecated on December 4, 2024. The UI still lets you generate the token (it's a known legacy trap), but those tokens don't work against any active API.

 

The 3 token prefixes and what they mean

Prefix API Status Recommended use
IGAAQ... / IGAA... Instagram Basic Display API Dead since 12/04/2024 Never
IGQ... Instagram Login API (direct) Works with limitations Consumer apps without FB Page
EAA... Facebook Graph API (Page/User Token) Correct for business Production

For any platform that needs to manage Instagram Business messages as SaaS, the path is Instagram Graph API via Facebook Page with Facebook Login. The token you need to obtain has format EAA....

 

Prerequisites: without this nothing works

Before touching anything in Meta for Developers, verify these requirements. If any are missing, no subsequent step will work no matter how hard you try.

1. Instagram Business or Creator account. Not Personal. In the Instagram app: Profile → Menu → Settings and activity → Account type and tools → Switch to professional account.

2. Instagram linked to a Facebook Page. In Instagram: Settings → Share to other apps → Facebook → link with a Page (not a personal profile). If you don't have a Page, create one for free at facebook.com/pages/create.

3. You must be an administrator of that Page from your personal Facebook account.

4. Meta Developers app with "Facebook Login" added (just "Instagram" is not enough). It can be "Facebook Login" or "Facebook Login for Business".

5. App in "Live" / "Production" mode (toggle in the top right on Meta for Developers) so that webhooks receive events from users who are not admins or testers.

 

Step-by-step process: the path that works

Step 1: Go to the Graph API Explorer

Open https://developers.facebook.com/tools/explorer/. In the top right, select your Meta App, leave User Token for now, and choose Graph API version v23.0 (or the most recent one your app supports).

Step 2: Select the permissions (scopes)

Click "Add a Permission" and check at least these essential permissions for messaging:

pages_show_list, pages_messaging, pages_read_engagement, pages_manage_metadata, instagram_basic, instagram_manage_messages.

Useful optionals: instagram_content_publish (if you also plan to publish posts) business_management (if you're going to manage Business Manager).

Step 3: Generate the token

Press "Generate Access Token". A popup opens asking you to confirm your Facebook account, choose which Pages you want to give the app access to, and choose which Instagram accounts (those linked to those Pages). Review permissions and press Continue.

You return to the Explorer with a new token of 200-250 characters that starts with EAA. This is the User Access Token. It's not yet the Page Token you need in the end, but it serves as a bridge.

Step 4: Verify the token

In the URL box put me?fields=id,name and press Submit. If you see your ID and name, the token works and is linked to your personal account.

Step 5: Get the Pages and their Page Access Tokens

Change the URL to:

me/accounts?fields=id,name,access_token,instagram_business_account

The response will give you something like:

{
  "data": [
    {
      "id": "230560936975021",
      "name": "ChatBridge",
      "access_token": "EAASPZB3aftzkBROOsGC8YzrrCAKZCl...",
      "instagram_business_account": {
        "id": "17841441438297868"
      }
    }
  ]
}

Here are 3 critical pieces of data you must save:

Data What it is Example
id of the Page Page ID (for Messenger) 230560936975021
access_token Page Access Token (this is the good one) EAASPZB3aftzkBRO...
instagram_business_account.id Instagram Account ID 17841441438297868

The Page Access Token is the one you must use in the Instagram channel configuration, not the User Access Token from step 3.

Step 6: Verify the Page Token

Return to the Explorer. At the top right, instead of "User Token", manually paste the access_token from the page. In the URL put:

17841441438297868?fields=id,username

If it returns the ID and username of your Instagram account, the Page Token works against the Instagram account. This is the definitive token.

Step 7: Extend the token to long-lived

Explorer tokens by default last 1-2 hours. To convert them to long-lived (60 days): open Access Token Debugger, paste the token, press Debug, and at the bottom "Extend access token". Enter your Facebook password and Meta generates an extended 60-day token for you.

 

Make the token permanent: System User

60-day Page Tokens are not suitable for serious production because they expire and have to be renewed manually. The professional way is to generate a System User access token, which never expires.

In Meta Business Manager: Business Settings → System Users → Add. Create a new one or use an existing one. Give it Admin role. Assign assets: Pages (the one linked to Instagram, with Full Control) and Apps (your Meta Developers app, Full Control).

With the System User selected, press "Generate new token". Select your app, expiration "Never", and the same permissions from Step 2. Copy the token immediately: it is only shown once. This token is permanent and the one you must use in production. It also starts with EAA.

 

Configure the webhook in Meta

For incoming messages to reach your server, Meta has to send them via webhook.

In Meta for Developers → your app → Products → Instagram → API Setup with Facebook Login (NOT "with Instagram Login"). In the "Configure Webhooks" section:

Callback URL: your platform's URL. For example https://chatbridge.io/api/webhooks/instagram/17841441438297868.

Attention: in some flows Meta replaces the ID with the app_id of Instagram (not the instagram_business_account.id). Your backend must resolve the channel by entry[0].id from the JSON payload, not just by the path.

Verification identifier: a random string that you choose and also store in your backend (this is the one your server validates in Meta's verification GET). Press "Verify and save". Do not check "Associate client certificate" (it's for enterprise mTLS, doesn't apply to normal integrations).

In "Webhook fields" press "Subscribe" in at least: messages, messaging_postbacks, messaging_seen and message_reactions.

You can test the webhook with the "Test" button next to messages. Meta sends a simulated payload to your URL. If it doesn't arrive, check that your URL responds HTTP 200 and that the verify token matches.

 

7 common errors and how to avoid them

Error 1: Thinking that "API Setup" and "API Setup with Facebook Login" are the same

They are two different screens within the Instagram section of Meta for Developers:

Screen URL ending in Token Works
"API Setup" (without FB Login) /API-Setup/ IGAA... (Basic Display) Dead API
"API Setup with Facebook Login" /API-Setup-with-Facebook-login/ EAA... via different process Correct
"API Setup with Instagram Login" /API-Setup-with-Instagram-login/ IGQ... (IG Login API) Only apps without FB Page

Always use "API Setup with Facebook Login" for business cases with a linked Facebook Page.

Error 2: Using User Access Token to send messages

The User Token serves to verify your identity and list your Pages with /me/accounts, but it does not work to send messages on behalf of a Page. To send messages you must use the Page Access Token (the one obtained within me/accounts in the field access_token).

Error 3: Storing an IGAA token and expecting it to work

If your platform receives a token IGAA...as input, reject the input with a clear error. There is no way to recover those tokens. They are remnants of a dead API.

Error 4: Not subscribing to webhook fields

Setting the webhook URL is not enough. You also need to explicitly subscribe to the fields (messages, etc.) and associate the specific Instagram account to that subscription. Otherwise, the URL is verified but nothing ever arrives.

Error 5: Trying to use graph.instagram.com with an EAA token

EAA tokens (Page / User) go against graph.facebook.com, not against graph.instagram.com. Calling the wrong endpoint gives "Cannot parse access token" even if the token is valid.

Token prefix Correct endpoint
EAA https://graph.facebook.com/v23.0/...
IGQ https://graph.instagram.com/v23.0/...

Error 6: App in Development mode expecting webhooks from any user

In development mode, webhooks only work for users with a role in the app. To receive events from any public user, the app must be in "Live".

Error 7: Confusing app_id with instagram_account_id

They are three completely different IDs:

ID What it is Example
app_id Identifies the app in Meta 1284210096584505
instagram_account_id Identifies your IG account 17841441438297868
page_id Identifies the FB Page 230560936975021

Meta uses one in some flows and another in others. Your backend must be able to resolve the correct channel even if Meta sends you the webhook with an unexpected identifier. Recommendation: identify the channel by entry[0].id the JSON payload in addition to the path.

 

App Review and next steps for production

Once the webhook is configured, when a real user writes to your Instagram account, it should arrive in your platform's inbox. If you try to respond from your platform and receive this error:

{
  "error": {
    "message": "(#3) Application does not have the capability to make this API call.",
    "code": 3
  }
}

It's normal in development mode / Standard Access. It means that instagram_manage_messages can only respond to users who are Admin, Developer, or Tester of your app. To respond to public users, you need Advanced Access via App Review.

Requirements for App Review

App in Live mode, public privacy policy accessible via HTTPS without login, public terms of service, data deletion URL, 3-5 minute video demonstrating the complete flow (user sends message → your app receives it → agent responds → user receives reply). It can be in Spanish with English subtitles burned into the video (not external .srt, not auto-generated).

Also: written justification of 200-500 words in English explaining real use, functional test credentials for the reviewer (account + pre-configured workspace). Review time: 3-7 business days. First attempt rejection rate: 60-70%. Common rejection reasons: video without English subtitles, policy behind login, reviewer cannot reproduce the flow.

Business Verification

In Business Manager → Security Center. Required documents: company deeds, admin ID, verified web domain (DNS TXT), physical address. Process: 1-3 days. Mandatory for serious production and to unlock high API limits.

Message sending endpoint

POST https://graph.facebook.com/v23.0/{instagram_business_account_id}/messages
Authorization: Bearer {Page_Access_Token}
Content-Type: application/json

{
  "recipient": {"id": ""},
  "message": {"text": "Hola"},
  "messaging_type": "RESPONSE"
}

Multi-tenant architecture for SaaS

If you offer this as SaaS, instead of each client going through all this process manually, implement Facebook Login OAuth on your platform. The client clicks a "Connect with Facebook" button, standard Meta OAuth flow, your backend exchanges code for access_token, /me/accounts , calls POST /{page_id}/subscribed_apps. Result: 2-minute onboarding for the client. This is what Manychat, Chatfuel and the rest do.

 

Why Meta set it up this way: the historical context

Meta has an ecosystem with multiple overlapping APIs for historical reasons. The Instagram Basic Display API (2019-2024) was designed for consumer apps displaying photos, now deprecated. The Instagram Graph API (2018-today) is designed for businesses with FB Pages, this is the one you need to use. The Instagram Login API / Messaging API (2024+) is a direct API without the need for FB Page for consumer apps with messaging, more modern but with limitations. And the WhatsApp Cloud API (2022-today) is completely separate with its own onboarding system (Embedded Signup) and billing (pay-per-conversation).

Meta for Developers UI does not clearly distinguish which one you are using when you click a button, and that is the cause of 90% of the headaches. The golden rule for business: always use Graph API via Facebook Login.

 

Final summary in table

Element Correct value Invalid value
Token prefix EAA... IGAA...
API Instagram Graph API via FB Page Instagram Basic Display
Sending endpoint graph.facebook.com/v23.0 graph.instagram.com (with EAA)
Configuration screen "API Setup with Facebook Login" "Plain API Setup"
Required IG Account Business or Creator + linked to Facebook Page Personal or not linked
Production token System User token (never expires) User token (expires in 60d)
App mode "In production" / "Live" "In development"
Reply to public Advanced Access via App Review Standard Access only

The real path summarized:

Graph Explorer → select permissions → Generate Token → EAA (User)

→ /me/accounts → get Page Access Token → EAA (Page)

→ Extend to 60d in the Debugger (or better: generate permanent System User token)

→ Configure webhook (URL + verify token + subscribe to fields)

→ Request App Review to reply to public users

 

Last verification: April 16, 2026. The Meta Developers interface is subject to change: if any screen name has changed, the conceptual process remains the same: Graph API Explorer → Facebook Login → Page Access Token → subscribed webhook → App Review for public production.

Guides Integrations