How to create a Webview?

(Mayank Sharma) #1

Hi @johnjackson @sarahpalombo
Can you help out with integrating this into FlowXo.

Or do flowXO has any option to build our own web view?

Regards,
-mayank

(Karen Barker) #2

Hi Mayank, :wave:

I see you’ve written in to support about this as well so I’ve responded over there. :thumbsup:

For anyone else that is interested, the Facebook Webview can be integrated into your bot using our Custom Request feature. :slight_smile:

(Pablo Leonhart) #3

Hi @KarenBarker, do you have any example of a Webview in a Custom Request please?

(Karen Barker) #4

Hi Pablo,

There’s a shared flow here that should help with how to set up your Webview :slight_smile:

(Conall) #5

Karen - that bot is not working, I just get a blank response when it should trigger the webview. Has the request structure changed?

(Karen Barker) #6

Hi Conall,

The flow just worked for me when I ran it. Can you take a look in your interaction logs please and see if there was any errors - you will need to whitelist the URL’s in order for a webview to work. You can do this by logging into your Facebook account, navigating to the page settings -> Messenger Platform and there’s an option in there to Whitelist pages. :slight_smile: