baptisteArno / typebot.io

💬 Typebot is a powerful chatbot builder that you can self-host.
https://typebot.io
Other
7.41k stars 2.06k forks source link

Embedded Typebot not loading in Facebook Messenger's in-app browser, displays "The bot you're looking for doesn't exist." #1765

Open ChrisVo opened 1 month ago

ChrisVo commented 1 month ago

Describe the bug
When accessing the webpage with the embedded Typebot, the message "The bot you're looking for doesn't exist." appears when opening the link from Facebook Messenger's in-app browser. However, the bot loads properly when accessed via an external browser.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Facebook Messenger and send the link to the webpage containing the embedded bot.
  2. Open the link from within the Facebook Messenger browser.
  3. Observe the error message stating "The bot you're looking for doesn't exist."

Expected behavior
The embedded bot should load and function properly, displaying the chat interface without the error message, regardless of the browser used.

ChrisVo commented 1 month ago

I did some more investigating. It appears that using the @typebot.io/nextjs library is ignoring the apiHost parameter being passed. The library continues to look for the bot on the hosted version of Typebot, even though my bot is self-hosted.

baptisteArno commented 1 month ago

That's strange. Can you provide the link to a bot that fails?

Estrategista07 commented 1 month ago

Eu estou tendo o mesmo problema , hospedei o typebot em um servidor próprio e ele parou de funcionar poderiam me ajudar

I'm having the same problem, I hosted typebot on my own server and it stopped working, could you help me?

the bot link that fails : https://app.lbdsprodutosdigitais.com/como-educar-filhos-felizes-e-realizados-mx84aj2

Captura de tela 2024-09-09 070315