Login-bot - ERROR: BOT_DOMAIN_INVALID - Login to the site via bot (telegraf)
See original GitHub issueHi, I’d like to use a bot to login for my site
- Request phone number
- Register via API
- Get user Token
- Login via login button
Markup.loginButton('Login', 'http://localhost:3000', {
bot_username: 'my_bot',
request_write_access: 'true'
returns error:
Error: 400: Bad Request: can't parse inline keyboard button: Field "request_wr
ite_access" must be of type Boolean
this code
Markup.loginButton('Login', 'http://localhost:3000', {
bot_username: 'my_bot',
request_write_access: true
returns error:
Error: 400: Bad Request: wrong HTTP URL
though http://localhost:3000 is available in my localhost
what means options: { bot_username: ‘my_bot’, request_write_access: true } query params or headers?
Issue Analytics
- State:
- Created 4 years ago
- Comments:6
Top Results From Across the Web
"Bot domain invalid" error in web telegram login. Django
I've been tinkering with this for a couple of days and just want to share a solution. The solution is simple and pretty...
Read more >telegraf.js - v4.11.2
Documentation for telegraf.js - v4.11.2. ... To use the Telegram Bot API, you first have to get a bot account by chatting with...
Read more >Can't login with Telegram with Firefox Preview
The website where I tried to login. If the login is successful, it should return a 404 error blank page with the text...
Read more >Telegraf: Modern Telegram Bot Framework for Node.js
To use the Telegram Bot API, you first have to get a bot account by chatting with ... By default Telegraf will print...
Read more >telegraf
Modern Telegram Bot Framework. Latest version: 4.10.0, last published: 11 days ago. Start using telegraf in your project by running `npm i ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Now I’m set real domain
, but get next error:
Hi @Fortur, Just applied setdomain in botfather