Instagram DM message Automation using the HTTP Module

What are you trying to achieve?

I’ve been looking to make an instagram automation that replies to the comment after a user comments on a post. I’ve got everything to work so far.
However after that I want to be able to send a DM to the user who has commented. I’m using a HTTP module to make a Request to do this. However I’m unable to get it to work.

I’ve been using the Meta Send-API and the Make.com HTTP Documentation to help me with it. However I’m unsure how to go about it.

I tried using this thread however that doesnt seem to be helping me much.

It would be really helpful if you can refer the image below to see if I’m in the right direction.

Steps taken so far

i made this HTTP request:

[
{
“ca”: null,
“qs”: [
{
“name”: “recipient”,
“value”: “{“id”:“784724420982208”}”
},
{
“name”: “message”,
“value”: “{“text”:“Hello World”}”
},
{
“name”: “messaging_type”,
“value”: “RESPONSE”
},
{
“name”: “access_token”,
“value”: “EA…”
}
],
“url”: “https://graph.facebook.com/v21.0/776150995585943/messages”,
“gzip”: true,
“method”: “post”,
“headers”: ,
“timeout”: null,
“useMtls”: false,
“authPass”: null,
“authUser”: null,
“bodyType”: null,
“serializeUrl”: false,
“shareCookies”: false,
“parseResponse”: false,
“followRedirect”: true,
“useQuerystring”: false,
“followAllRedirects”: false,
“rejectUnauthorized”: true
}
]

And get this error:

InvalidConfigurationError
Error: 403 Forbidden
{“error”:{“message”:“(#200) App does not have Advanced Access to instagram_manage_messages permission and recipient user does not have role on app.”,“type”:“OAuthException”,“code”:200,“error_subcode”:2534048,“fbtrace_id”:“AxFzuk-YlooVXHuaO2Osogk”}}

can anyone help with this?

Hey Vinoth!

The error is clear: Your Meta app doesn’t have Advanced Access to the instagram_manage_messages permission.

How to Fix:

  1. Go to Meta Developer Dashboard
  2. Select your app
  3. Go to App Review > Permissions and Features
  4. Find instagram_manage_messages
  5. Click Request Advanced Access
  6. Submit for review (Meta usually approves in 1-3 days)

Quick Test Workaround:

Add yourself or test users as app Roles (Settings > Roles > Add Testers). This lets you test DMs without Advanced Access approval.

HTTP Module Fix:

Your request structure is wrong. Move data from Query String to Body:

Method: POST
URL: https://graph.facebook.com/v21.0/me/messages
Body type: Raw
Content type: JSON

Body:

{
  "recipient": {
    "id": "{{instagram_user_id}}"
  },
  "message": {
    "text": "Hello World"
  },
  "messaging_type": "RESPONSE",
  "access_token": "YOUR_TOKEN"
}

Better: Use Make’s built-in Instagram for Business connector instead of HTTP. It handles authentication and formatting automatically.

The permission request is your main blocker. Submit that first.

Sam @ Flow Digital