To create a Facebook channel to use as Pega Intelligent Virtual Assistant (IVA for
Facebook, configure your Facebook Messenger app to interact with the IVA.
-
In a web browser, log in to the Facebook developer portal.
-
Select your new Facebook Messenger app.
-
In the PRODUCTS section for the app, click
Webhooks, and then click Edit
Subscription.
-
In the Callback URL field, enter the URL for your
Pega Platform instance with your new Facebook
channel.
For example: Enter:
http://sample.pega.com:8080/prweb/PRHTTPService/channel/srv/fb
-
In the Verify Token field, enter:
pega
-
Click Verify and Save.
-
In the PRODUCTS section for the app, click
Messenger, and then click
Settings.
-
In the Webhooks section, click Edit
Events.
-
Select the messages,
messaging_postbacks, and
messaging_account_linking check boxes.
-
Click Save.
-
To subscribe your webhook to the page events, in the list in the
Webhooks section, click the new Facebook page, and then
click Subscribe.
What to do next: Set up a Facebook channel in Pega Platform using your Facebook
account settings. For more information, see Setting up a Facebook channel.