title: How to test Messenger Bots offline? Local webhooks
body: <p>I'm starting with Messenger Platform API. I want to make simple Messenger Chatbot. <a href="https://developers.facebook.com/docs/messenger-platform/quickstart" rel="noreferrer">Here is tutorial I follow.</a></p>
  
  <p>As you see, to start I need to set up webhook (step 2). So basically: web server that provides some REST API and posts some data back. The problem is: facebook requires me to provide some real, existing app URL that works currently in internet. <strong>So, do I need to upload my code to server each time I change something? Can I somehow test it locally (on my localhost)?</strong> How can I test behavior of my bot?</p>