- Notifications
You must be signed in to change notification settings - Fork3.9k
Cloud Functions for Bot development#810
-
Hello! I'm just curious. Could we recognize cloud functions for bot-development? E.g. do bots for Telegram, Viber, Messenger etc? |
BetaWas this translation helpful?Give feedback.
All reactions
@akhromieiev absolutely! I have built many bots using Cloud Functions as webhook handlers including the famous@google-oss-bot (source:https://github.com/firebase/oss-bot)
All best practices about general webhook development still apply. HTTP functions are public so you need to make the incoming request is real (GitHub uses a secret token) before handling it.
Also for developing webhooks locally in the Cloud Functions emulator, check outhttps://smee.io/ which is a great tool.
Replies: 1 comment 2 replies
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
@akhromieiev absolutely! I have built many bots using Cloud Functions as webhook handlers including the famous@google-oss-bot (source:https://github.com/firebase/oss-bot) All best practices about general webhook development still apply. HTTP functions are public so you need to make the incoming request is real (GitHub uses a secret token) before handling it. Also for developing webhooks locally in the Cloud Functions emulator, check outhttps://smee.io/ which is a great tool. |
BetaWas this translation helpful?Give feedback.
All reactions
🎉 1
-
Cool! Thanks! |
BetaWas this translation helpful?Give feedback.