How to do Facebook Messenger Bot development locally?

后端 未结 6 2561
星月不相逢
星月不相逢 2021-02-20 04:36

When setting webhooks, it\'s saying a Secure URL is required.

6条回答
  •  感动是毒
    2021-02-20 04:57

    I did not try programming with the Messenger Bot yet, but i know how webhooks work, so here´s the problem:

    Webhooks are basically URLs that are called from Facebook. I assume you are trying to set up webhooks with localhost, but how would Facebook access localhost? It only exists on your own computer. Also, the error message is very clear, you need SSL for the webhook URL. There are "self signed certificates" for localhost, but it does not help you in that case - again, Facebook needs to be able to call that webhook callback URL.

提交回复
热议问题