0

我的服务器离线了一天,现在 facebook 已经停止向我的 webhook 发送请求。这是我收到的错误消息:

您对回调 URL https://myurl的 Webhooks 订阅在过去 0 分钟内未接受更新。此订阅已被禁用。要重新激活,只需使用相同的参数发出 POST 请求或访问应用仪表板中的 Webhooks 选项卡。Scopri di più 关于 Webhooks。

他在说什么帖子请求?我去了 webhooks 选项卡,但似乎没有任何效果。有人遇到过这个问题吗?

4

2 回答 2

0

Send POST request with your access token and subscribed_fields.

https://graph.facebook.com/v6.0/me/subscribed_apps?access_token=[ACCESS_TOKEN_here]&subscribed_fields=messages,messaging_postbacks,messaging_optins,message_deliveries,message_reads

Also, you can do this manually at the https://developers.facebook.com/ by checking "Subscription Fields"

于 2020-08-28T19:48:43.810 回答
0

添加您的信使应用访问令牌后,只需发送此帖子请求:

curl -X POST "https://graph.facebook.com/v2.9/me/subscribed_apps?access_token=[MESSENGER_ACCESS_TOKEN]"
于 2018-09-07T10:48:57.133 回答