Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Cloud Functions for Bot development#810

Answeredbysamtstern
akhromieiev asked this question inQ&A
Discussion options

Hello! I'm just curious. Could we recognize cloud functions for bot-development? E.g. do bots for Telegram, Viber, Messenger etc?
Most of these platforms require just a Webhook URL. Could we use HTTPs trigger for this purpose?

You must be logged in to vote

@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

Comment options

@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.

You must be logged in to vote
1 reply
@akhromieiev
Comment options

Cool! Thanks!

Answer selected bysamtstern
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
2 participants
@akhromieiev@samtstern

[8]ページ先頭

©2009-2025 Movatter.jp