How to Generate Access Token for Instagram DM Automation

Status
Not open for further replies.

This guide walks you through generating an access token to enable Instagram DM automation using the Meta Developer Platform.

Prerequisites​

  • A public Instagram Professional or Business account
  • A Meta (Facebook) account


Step 1: Go to Meta Developers Portal​

  1. Open developers.facebook.com
  2. Log in with your Facebook account
  3. Click My Apps in the top menu
    1768377363491.png


Step 2: Create a New App​

  1. Click Create App
    1768387390490.png
  2. Enter an App name (anything you like)
    1768377568139.png
  3. Enter your App contact email
  4. Click Next


Step 3: Select Use Cases​

  1. Choose Filter by Business messaging
    1768378305260.png
  2. Choose Manage messaging & content on Instagram
  3. Click Next

Step 4: Select Business Portfolio​

  1. Choose a business portfolio to connect, or select "I don't want to connect a business portfolio yet"
    1768378370959.png


    1768378481728.png
  2. Click Next to continue
    1768378545715.png

Step 5: Open API Setup with Instagram Login​

  1. In your app Dashboard, go to the left sidebar
    1768378767791.png
  2. Click Use Cases
  3. Click on Customize

Step 6: Add Required Messaging Permissions​

Under "1. Add required messaging permissions", make sure these are enabled:
  • instagram_business_basic
  • instagram_manage_comments
  • instagram_business_manage_messages
    1768378868255.png


Step 7: Add Your Instagram Account as Tester​

  1. Go to App rolesRoles in the left sidebar
  2. Click Add People

    1768379135506.png
  3. Search for your Instagram username
  4. Select Instagram Tester as the role and click Add

    1768379275724.png
  5. The status will show Pending
    1768379418406.png

Step 8: Accept the Tester Invitation​

  1. Open Instagram (app or web)
  2. Go to SettingsWebsite permissionsApps and websites
    1768384428348.png

    1768384473339.png

    1768384502976.png
  3. Find your app and Accept the invitation
    1768384544294.png
Note: Tokens can only be generated for public Instagram accounts.

Step 9: Generate Access Token​

  1. Return to Meta Developer Portal
  2. Click on Use Cases, then click on Customize
    1768384742137.png
  3. Under "2. Generate access tokens", find your Instagram account
  4. Click Generate token
    1768385203089.png

    1768385280421.png

    1768385344400.png
  5. Copy the token immediately — it is displayed only once
  6. After that, toggle on the Webhook Subscription.
    1768386633084.png
Important: Keep this token secure. Do not share it publicly.

Done!​

You now have an access token to use with Instagram DM automation
 

Attachments

  • 1768377437560.png
    1768377437560.png
    167.2 KB · Views: 7
  • 1768377494489.png
    1768377494489.png
    50.7 KB · Views: 5
  • 1768378997763.png
    1768378997763.png
    82.8 KB · Views: 5
  • 1768384332747.png
    1768384332747.png
    52 KB · Views: 5
Last edited:
Status
Not open for further replies.
Top