Facebook Send Api - reactivate webhook subscription

1.8k Views Asked by At

My server went offline for a day and now facebook has stopped sending requests to my webhook. This is the error message i get:

Your Webhooks subscription for callback URL https://myurl has not been accepting updates for the past 0 minutes. This subscription has been disabled. To reactivate, just make a POST request with the same parameters or visit the Webhooks tab in the app dashboard. Scopri di più about Webhooks.

What post request is he talking about? i went to webhooks tab but doesnt seem to have any effect. Anyone had this problem?

2

There are 2 best solutions below

0
Ayman On

Just send this post request after adding your messenger app access token:

curl -X POST "https://graph.facebook.com/v2.9/me/subscribed_apps?access_token=[MESSENGER_ACCESS_TOKEN]"
0
Mitko Keckaroski On