Messenger Webhook is not working properly
I have configure for a page to receive call when an user triggers by sending messages (I have page_messaging permission already). I checked and ticked all the boxes that I needed for that function in step 2 Generate access token (messages subscription). I sent to the page a message and receive a to my webhook instantly, but only once. The next time I sent it didn't send anything to my webhook, so I double-checked and the subscriptions were removed so I had to tick again.
Bonus: I changed the API Token of the page but I could still send messages with the old token. Is that a bug
I have a similar problem, my app has been running fine for about year now and this problem only happened yesterday. The webhook only sends 1 event to the application and then removes all the subscribed fields. I don't know if this is a webhook bug or if there are some changes in the page config but hopefully, this get fixed soon.
After searching for reason of "Webhook Subscription" get removed after first call, I found that it may a bug from Facebook side. I found this link about Permissions Dependencies and it seems that pages_messaging depends on pages_manage_metadata and pages_show_list.
I turned my App to Live and subscribed again to webhooks needed (messages, messaging_postback) before going to Permissions and Features in my App Dashboard and search for permission pages_manage_metadata. I cannot request the permission because it requires a successful test API Call...
Then, I went to Graph API Explorer and test the required test API Call with the endpoint /me/subscribed_apps (this endpoint needs the pages_manage_metadata permission to work). I change the parameters like Meta App to my App, User or Page to my Page... generate Access Token... and set permissions to pages_messaging, page_show_list and page_manage_metadata
First, I made POST request with the following JSON data:
{
"subscribed_fields": [
"messages",
"messaging_postbacks",
]
}
It returns {"success": true}. Then I try GET, and it returns all Webhook Subscriptions that I need. I double check in my App Webhook Subscriptions, I see the needed Subscriptions... test to send message from non Tester/Administrator user and all seems good.
Hoping that it will help. Regards,
Lionnel
same here
Same here, I have tried everything. Now facebook just blocked acces to my apps in facebook. Can't connect to support...
You must install application Live mode and need an enterprise business license to enable this mode
Got the same error just now
Got the same error just now
Got the same error just now
Got the same error just now
Facebook support seems to not care about our problem. I think too that Meta is one of biggest tech but has the worst support