The Terms of Service page contains sample terms to help create an appropriate Terms of Service document.įacebook has its own review process for apps that are published to Messenger.
#Chatbot facebook code#
The Code of Conduct page contains third-party resources to help create a privacy policy. You need to provide those on the Facebook basic app settings page (after signing in to your app at Facebook for Developers, select Basic under Settings on the side menu pane). Facebook requires a Privacy Policy URL and Terms of Service URL. You need to submit your app for Facebook review before you can make your Facebook app public. Select Add Subscriptions for each page that you want to add the bot to. Provide the Callback URL and Verify token from the Configure the Facebook channel in Power Virtual Agents section and select Verify and Save. Under the Webhooks section, select Add Callback URL. You'll need these when you connect your Facebook app to Power Virtual Agents.Ĭonnect your Facebook app to Power Virtual Agents Once successful, copy the Callback URL and Verify token. Select Add and wait for the success confirmation message. Paste the App ID, App Secret, Page ID, and Token you retrieved earlier into their corresponding fields.Īt least one page is required, but you can select Add Page to add additional pages. Select the Facebook tile to open the configuration window.
![chatbot facebook chatbot facebook](https://irisemedia.com/wp-content/uploads/2017/12/Chatbot-blog.png)
In Power Virtual Agents, select Manage on the side pane, and then go to the Channels tab. You'll need these when you configure the Facebook channel in Power Virtual Agents.Ĭonfigure the Facebook channel in Power Virtual Agents You'll need to select Generate Token for each page. When adding pages, make sure Manage and access Page conversations in Messenger is set to Yes.Ĭopy the Page ID and Token for each of the pages that you want to add the bot to.
![chatbot facebook chatbot facebook](http://www.frankelinteractive.com/static/sitefiles/Facebook_Chatbots.jpg)
You can also create a new page by selecting Create New Page. Select Settings under Products and Messenger on the side menu pane.Īdd the pages you want to add the bot to by selecting Add or Remove Pages under the Access Tokens section. Sign in to the Facebook App that you want to add your bot to at Facebook for Developers.
![chatbot facebook chatbot facebook](http://i.kinja-img.com/gawker-media/image/upload/t_original/xcypcp96cjdgc8clrmqy.jpg)
Under the Add a Product section, select Set Up on the Messenger tile. Select Save Changes to confirm your changes.
![chatbot facebook chatbot facebook](https://cdn-images-1.medium.com/max/1600/1*V4UFpWc_mjgVA084v2qoAg.png)
Make sure Allow API Access to App Settings is set to Yes. Under Settings on the side menu pane, select Advanced. You will need these when you configure the Facebook channel in Power Virtual Agents. Under Settings on the side menu pane, select Basic. Sign in to the Facebook app that you want to add your bot to at Facebook for Developers. Configure Facebook app settings Retrieve Facebook app information You will then need to submit your app for Facebook review before you can publish your app and make it public. These are the steps involved in this process:Ĭonfigure Facebook app settings: retrieve your Facebook app information, enable API access, add Facebook Messenger to your app, and configure the Facebook pages your app should appear on.Ĭonfigure the Facebook publication channel in Power Virtual Agents.Ĭonnect your Facebook app to Power Virtual Agents using webhooks. You need a Facebook app, and an associated developer account, to connect your Power Virtual Agents bot to Facebook Messenger on your Facebook pages.