繁体   English   中英

Instagram API Webhook URL 未收到测试更新

[英]Instagram API Webhook URL not receiving test updates

我有一个处于开发模式的业务应用程序,并且想测试对我的 Webhook 的 Instagam 测试更新的处理,但我的测试更新似乎都没有通过 go。

我正在尝试使用 Firebase HTTP Cloud Function 来处理验证和通知更新。 Upon setting up the HTTP cloud function to respond appropriately if it's invoked with a GET or a POST request, I deployed my function to Firebase Cloud Functions.

我按照使用 Webhook 的入门页面中的步骤进行操作,包括配置 Webhook 产品、启用页面订阅、我可以访问 Instagram 帐户和具有管理员访问权限的 Facebook 页面,但我的测试更新都没有通过 webhook url ,我将其指定为 url 到我的 Firebase 云 Function。

My firebase cloud function url is https://us-xxxx-xxxx-xxxxx.cloudfunctions.net/webhooks with the "xxxx" covering my project id details. 当我第一次使用“Instagram”指定我的 url Webhook URL 并订阅“消息”时,我看到我的 ZC1C425268E68385D1AB5074C17A94F1 得到它的请求。 没有测试更新,或订阅更新 go。

What the function currently does is respond with the hub.challenge if the request to the cloud function is a GET request, and if it's a POST request to the cloud function, I'll send 200 OK HTTPS. 我一路上有打印消息,所以我会在我的云 function 日志中知道正在触发某些事情。 有任何想法吗?

任何关于如何让测试 webhook 出现的建议都会很棒。 谢谢

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM