Connection Guide: Instagram (developer)

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 and creating a connection with it in Pabbly Connect.


Overview:​

  1. Go to Meta Developers Portal
  2. Create a New App
  3. Select Use Cases
  4. Select Business Portfolio
  5. Open API Setup with Instagram Login
  6. Add Required Messaging Permissions
  7. Add Your Instagram Account as Tester
  8. Accept the Tester Invitation
  9. Access Token and Webhooks
    1. Generate Access Token and Copy Account ID
    2. Configure Webhooks
    3. Publish Your App
  10. Create a connection in Pabbly Connect

Prerequisites​

  • A public Instagram Professional or Business account
  • A Meta (Facebook) account
  • https://developers.facebook.com/docs/instagram-platform/overview
    1769151276594.png


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
  2. Click Next and continue to the dashboard
    1768378545715.png

Step 5: Open API Setup with Instagram Login​

  1. In your app Dashboard, go to the left sidebar
    1768378767791.png
  2. Click on Use Cases
  3. Then , 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 on 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

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.1: Generate Access Token and Copy Account ID​

  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
    1768385344400.png
  5. Copy the token immediately — it is displayed only once
  6. After that, toggle on the Webhook Subscription.
  7. Copy the account ID and save it somewhere.
    1769233411492.png
Important: Keep this token secure. Do not share it publicly.

Step 9.2: Configure Webhooks​

  1. Go to Use cases > Customize use case > API setup with Instagram login
  2. Go to Step 3 - Configure webhooks
  3. Provide these input field values:
    Callback URL -https://pc-integrations.pabbly.com/webhooks/instagram/webhookurl
    Verify Token: pabblyconnect
    1769233586954.png
  4. Click on Verify and Save button.
  5. Now you will be able to see the available Webhook fields below, subscribe (turn on toggle) on all the fields.
    1769233965987.png

Step 9.3: Publish Your App​

  1. Goto Meta developers dashboard (home page)
  2. On the left hand side menu you can see Publish menu item, click on it.
    1. If required app settings are not completed, Then click on Go to app settings
    2. Provide the required input fields data:
      App domains ✅
      Privacy policy URL ✅
      Terms of Service URL ✅
      Category ✅
    3. Go to bottom of the page and click save.
  3. Return to the Publish tab from the left menu.
  4. At the bottom, you can see Publish button, click on it.
    1769234415871.png
  5. You will see a message that - Your app was successfully published.


Step 10: Create a connection in Pabbly Connect​

  1. Goto Pabbly connect platform and create a workflow.
  2. Click on add trigger and choose your app "Instagram DM automation".
  3. Select App Event for an example "New message" and click on "connect".
    1769068830818.png
  4. Provide data for input fields: Access Token and Account Identifier ( Refer to Step 9 ), and click on save
    1769068927525.png
  5. Your connection is now ready to accept the webhook response.


 

Attachments

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