How to Use the GitHub Webview repo code in flowxo using webhook

(Mayank Sharma) #1

Hi @johnjackson

I’m trying to use my repo code from GitHub.

For that, I was wondering if there is any way to implement through webhook of GitHub into FlowXo.

Repo Code on Github is on Webview for facebook messenger.

What is that I’m trying to achieve :

Use the GitHub Webview repo code in FlowXo .

I have attached the code screenshot.and wish to trigger this.

If for some reason it is not possible, please help me how to achieve my goal.

(Karen Barker) #2

Hi Mayank,

I see you’ve emailed this into support also so I’ll take a look there and respond ASAP. :thumbsup:

Thanks
Karen

(Jordan Ahli Bank) #3

Hello it would be helpful to see the answer here. Thanks

(Karen Barker) #4

Hi,

Rather than needing to use the Github repo code, you can use our Make a Custom Request service with the Facebook Webview in order to integrate webviews into your bot.

You can install this shared flow for a basic example using the Facebook example code, to see how it would work.

I hope this helps. :slightly_smiling_face: If you have any further issues please don’t hesitate to ask.

(Mayank Sharma) #5

HiKaren Barker http://community.flowxo.com/u/karenbarker,

Thanks for helping me with the example flow,

I have installed and understood how to use custom Request flow,

My issue is that I’m not a coder, that is the reason I’m using your
Platform (no Coding required).

Saying that I have been asking for a period on how to implement the same
GUi in webview in flowxo.:point_down::point_down:

https://developers.facebook.com/docs/messenger-platform/design-best-practices/guides/create-gui/

Facebook is also providing get the code.which is a gut repo.

Can i deploy this on your platform…if yes please help me with the step
by step process.

As, i;m struggling with this since a month, and unable to develop my bot
further.

Please help me.

Regards
mayank sharma

(Jordan Ahli Bank) #6

I get this error: “(#100) The URL provided is not whitelisted for messenger extensions
Close”

(Karen Barker) #7

Hi Mayank,

That looks like a Facebook service which allows you to create a GUI rather than needing to build a website. If you require any help on how to use the Facebook Create GUI code then Facebook support should be able to assist here. :thumbsup:

(Karen Barker) #8

Hi @Jordan_Ahli_Bank,

You’ll find some instructions here on how to whitelist a page. Hope this helps :slight_smile:

(Jordan Ahli Bank) #9

Hey :slight_smile:
I tried it and I got an error on the http request to whitelist: {“error”:{“message”:"(#230) Requires pages_messaging permission to manage the object",“type”:“OAuthException”,“code”:230,“fbtrace_id”:“BX6+PZggqK1”}}

(Karen Barker) #10

Hi Jordan,

That looks like an issue where you don’t have your own app connected and so can’t use the correct access token. If you go https://developers.facebook.com/tools/explorer and create an app, then select the app and the page token for this app it should work. :thumbsup:

#11

Hi @KarenBarker,

Thanks for sharing this flow. I tried to run it without changing the code in the custom request to see how it works but I get an error that says “The URL provided is not whitelisted for messenger extensions”. Do you have a working demo or screenshot just to see how it looks? Thanks.

(Daniel Beckett) #12

@Kloic

The steps for Whitelisting Domains for Facebook Send API can be followed to fix that error :slight_smile: