Closed chriscomrie closed 8 years ago
Messenger requires only one route, '/webhook', where all messages (or buttons clicks, and so on) information is sent.
All the dialog logic is then handled by Botkit, through 'controller.hears' functions or events such as 'controller.on('facebook_optin'
You are using routes in this demo like you would use routing if you were serving files on a typical web site. How does the routing work inside messenger? Can you elaborate on what the routes do?