Skip to main content
Answered

Running code or an iFrame in the messenger?

  • June 20, 2021
  • 1 reply
  • 3160 views

Forum|alt.badge.img+1

Is it possible (or: what is the best way to...) run a small bit of code or show an iFrame in the messenger?

 

For a certain case in a custom bot, if a user chooses a certain path, I want to show the user a quick calculator.

 

The code is very simple - an HTML input, and about 5 lines of javascript. Is it possible to either put the code somewhere to show it in the bot? Or otherwise, can I use an iframe that shows a page where the calculator is hosted?

 

Thanks

Best answer by Roy

Hi @user1140​ ,

 

You should build Canvas APP for that.

 

More Information can be found here.

 

Let me know if you have any questions about this, always happy to help.

 

View original
Did this topic help you find an answer to your question?

1 reply

Forum|alt.badge.img+5
  • Expert User
  • 1152 replies
  • Answer
  • June 21, 2021

Hi @user1140​ ,

 

You should build Canvas APP for that.

 

More Information can be found here.

 

Let me know if you have any questions about this, always happy to help.

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings