Reputation: 21
I have integrated Instagram graph API with Salesforce and it's working fine. Now I want to implement unsend messages but Instagram webhook is not sending any notification
I tried after subscribing "messages" webhook event but it is not sending any notification
Upvotes: 2
Views: 600
Reputation: 894
Issue: Currently, the Unsend messages webhook on Instagram does not work when using a desktop browser. While the delete message webhook is triggered on mobile, it’s not functional in the browser version.
Proposed Solution: Use Android Studio with the built-in Android emulator to access Instagram and ensure the Unsend webhook works effectively.
NOTE: This solution is good for if you need send screen recording to META. Otherwise it is working properly on mobile devices
Install Android Studio:
Set Up an Emulator:
Launch the Emulator:
Log in to Your Google Account:
Download Instagram:
Log in to Your Instagram Account:
Test the Unsend Functionality:
Upvotes: 0
Reputation: 417
The webhook, on my test app, does not send any delete notifications (as well as reactions, seen, etc).
Looking over the docs you will see a webhook example that includes the is_deleted
option.
I would copy a regular message payload and using curl or postman send your own request that includes is_deleted
to help test.
https://developers.facebook.com/docs/messenger-platform/instagram/features/webhook#webhook-events
"is_deleted": true
into the message object in the messaging
array.{
"object": "instagram",
"entry": [
{
...
"messaging": [
{
...
"is_deleted": true
...
]
}
]
}
Upvotes: 0