I have written a Telegram bot that opens a form to fill out in
WebAppInfo when you click on a button. Everything works fine in the
desktop and mobile telegram, but the web version of the telegram gives
an error: The host *****.pythonanywhere.com
rejected the connection
request. I don't understand why pythonanywhere is blocking access from
https://web.telegram.org/, is there any way to allow access?
form_url = f “https://*****.pythonanywhere.com/form/{user_id}”
web_app_button = InlineKeyboardButton(“Fill out the form”, web_app = WebAppInfo(form url))
Translated with DeepL.com (free version)
[formatted by admin]