Hello and thank you for you amazing work. I love this repo: it allowed me, even if I was new to NodeJS, to create a Telegram Bot that I successfully deployed on Firebase.
I soon realized though that, after some time the bot doesn't get HTTP requests, it stops working for good, until I re-deploy it. Googling around, I came to the conclusion that it's a matter of Firebase token refreshing. Nonetheless, I can't find a way to make the bot successfully refresh it, since all the documentation I can find refers on website's user logins IDs...
Can someone help me figuring out some JS code to keep my bot running even after Firebase catalogs my current token as expired?
I'm using the JSON form '**.key' file Firebase provides me here
Thank you so much
Hello and thank you for you amazing work. I love this repo: it allowed me, even if I was new to NodeJS, to create a Telegram Bot that I successfully deployed on Firebase.
I soon realized though that, after some time the bot doesn't get HTTP requests, it stops working for good, until I re-deploy it. Googling around, I came to the conclusion that it's a matter of Firebase token refreshing. Nonetheless, I can't find a way to make the bot successfully refresh it, since all the documentation I can find refers on website's user logins IDs...
Can someone help me figuring out some JS code to keep my bot running even after Firebase catalogs my current token as expired?
I'm using the JSON form '**.key' file Firebase provides me here
Thank you so much