Facebook integration

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:

  1. Having created a Facebook Messenger app, get its Page Access Token. You can get this on the app's Messenger Settings tab:
  1. In the same tab, click Set up Webhooks. A dialog box called New Page Subscription will open. Keep it open in one browser ...

Get Hands-On Chatbots and Conversational UI Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.