问题描述
我已经成功实现了一个Facebook机器人.一切正常.我现在尝试更改webhook网址,因为我必须将其移植到具有新域的其他服务器上.
I have successfully implemented a facebook bot. It's working fine. I was trying to change the webhook url now as I have to port it to a different server with a new domain.
有一个选项可以更改事件,但我找不到,也可以选择更改webhook.我该如何更改?
There is an option to change the events but I could not find and option to change the webhook. How do I change it?
推荐答案
您不能直接从"Messenger"产品中编辑链接.在左侧菜单中,选择您的应用程序后,您必须单击"+添加产品"并添加webhooks.然后,您可以从webhooks中编辑Messenger的webhook.
You can't edit the link directy from the "Messenger" product. On the left menu, after selecting your application, you have to click "+ add product" and add also webhooks.From webhooks then you can edit also messenger's webhook.
要编辑Webhook,请单击页面上的Edit Subscription
按钮.确保顶部的下拉菜单选择了选项Page
.
To edit the webhook, click on Edit Subscription
button on the page. Make sure that the dropdown at the top has the option Page
selected.
这篇关于如何更改facebook Messenger Bot Webhook?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!