Question
How to add Facebook Webview in Pega Facebook channel
Hi All -
I have built a Messenger Bot . Conversation works fine without a glitch.
The only constraint i have right now is, the UI/CSS/HTML which is available in the Pega won't carry forward to messenger, because of that all the response becomes like a single paragraph. (Even Next line is not working)
The Messenger support team told that webview might help which is like a pop up within the messenger where the user can select or see the contents .
https://developers.facebook.com/docs/messenger-platform/webview/extensions/
But i am confused on how can i configure this in Pega ?
Or else is there any way available already with which i can send response in different format.
Like New Line, Bold
Thanks,
Sarath
***Edited by Moderator: Pallavi to update platform capability tags***
FB does not display UI from Pega or from any other source for that matter in a messenger window, that is why all the text is marked down to simple text.
You may try sending a markdown text, see if that displays text in desired format. I'm tagging @Piotr Kulig who has more insight into this.