OMG, that's a best tutorial that I've seen. You've explain everything about the process, thanks for your video. Just one thing, If I use "node-telegram-bot-api" will be not necessary use the ngork, right?
Hey thank you! I didn’t use that api, but, if you are using webhook, you need it, since telegram only supports https. github.com/yagop/node-telegram-bot-api/blob/master/doc/usage.md#webhooks
I'm building a Telegram web app using mern stack, I want that whenever any telegram user opens my telegram bot webapp then I should get his user id in my project, If anyone knows please tell me it will be very helpful 🙏
Hi, It was all working perfectly fine before, but now I am getting the 405 'not allowed' results with ngrok. Not sure how to get it working again. Steps I am taking - running `ngrok http 4040` in terminal - copying the url to postman and adding it the api call, resulting in 'webhook was set' in postman - terminal gives back: POST/ 405 method not allowed Tried this steps multiple times. What could be wrong? Great tutorial btw, thanks
Then you can use polling, where you can check telegram every x seconds(say 5 seconds) , then every 5 seconds you can check with telegram servers that any new message is there
Amazing tutorial, you not only show us commands and lines of code, you actually teach, and I find it amazing
This tutorial is really useful, since you can just modify the code and host it on vercel or render
Underrated tutorial!
In my case its always error in ngrok
bad gateway 502 and got error
node:internal/process/promises:289
AxiosError [AggregateError]
Can you help me
OMG, that's a best tutorial that I've seen. You've explain everything about the process, thanks for your video. Just one thing, If I use "node-telegram-bot-api" will be not necessary use the ngork, right?
Hey thank you! I didn’t use that api, but, if you are using webhook, you need it, since telegram only supports https.
github.com/yagop/node-telegram-bot-api/blob/master/doc/usage.md#webhooks
please can have one for nextjs
I'm building a Telegram web app using mern stack, I want that whenever any telegram user opens my telegram bot webapp then I should get his user id in my project, If anyone knows please tell me it will be very helpful 🙏
*Wich app is this: **1:20** please make Detail Video not able to understand in this sir. Pleasssereeeeerrrr*
Hey hi, yes i will try to make as detailed as possible, next time. The app I am using is VsCode, but you can use any code editor
"Sir, will this ngrok make my Telegram bot appear 24/7?"
Explain more so I help you
@@okonkwo.ify18
Deploy the server publicly so it can be accessed(using ngrok)
Can you please help me on this
Hi,
It was all working perfectly fine before, but now I am getting the 405 'not allowed' results with ngrok. Not sure how to get it working again.
Steps I am taking
- running `ngrok http 4040` in terminal
- copying the url to postman and adding it the api call, resulting in 'webhook was set' in postman
- terminal gives back: POST/ 405 method not allowed
Tried this steps multiple times. What could be wrong?
Great tutorial btw, thanks
Good morning bro, how did you fix this?
ngrok only has a certain number of requests on the free plan - either upgrade your plan or create a new account and relink it
sir love you hogya
Please can we get he source code? At least for the setup part
Hey hi, all the code I showed in the video. If you still need the source code, please email me, I will share it with you.
where we can mail you, say the id or direct guthub link
where we can mail you, say the id or direct guthub link
How do i deploy this on prod with ngrok
You don’t need to ngrok to deploy to prod. If you follow later videos we deployed to production
Hey bro, what happens when we not using webhook ?
Then you can use polling, where you can check telegram every x seconds(say 5 seconds) , then every 5 seconds you can check with telegram servers that any new message is there
Keep doing this great work bro!
Also need a javascript course in your language.
Your explanation is top notch😊
Thank you, will consider making a course in future
This tutorial is unnecessarily complex
I do not mean to sound rude; do you have a better one, as I’m a beginner and would like to develop a telegram bot
@@CryLight- I'm also learning to develop but his code is bit complex, logic and functionality is simple and good but the syntax is the complex
Cool and easy
hey hi , i got an error says that messageObj.text is undefined
Did you get any solution regarding this, i am getting the same error.
use if condition if you got messageObj then it go ahead
@@lordesca4364
Hey hi, as @nikkifacts07 said, have a if condition check. Also check if you server is reacting to any other requests apart of telegram
@@lets-build-together it is better with long polling instead of webhooks
how did you solve it?