How do I change facebook messenger bot webhook?

delsanic picture delsanic · Apr 18, 2016 · Viewed 18.5k times · Source

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.

There is an option to change the events but I could not find and option to change the webhook. How do I change it?

enter image description here

Answer

sabrina picture sabrina · Jun 16, 2016

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.

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. enter image description here