In order to publish the API.AI chatbot on Facebook Messenger, we need a Facebook Page to start with. We also need a Facebook Messenger app that subscribes to the page. The steps to create a Facebook Page and a Facebook Messenger app are presented in detail in the section titled Publishing on Facebook Messenger in Chapter 3, Let's Talk Weather . Let's discuss the further steps here:
- Having created a Facebook Messenger app, get its Page Access Token. You can get this on the app's Messenger Settings tab:
- In the same tab, click Set up Webhooks. A dialog box called New Page Subscription will open. Keep it open in one browser ...