1
0
mirror of synced 2024-11-24 05:46:07 +03:00
Package messenger is used for making bots for use with Facebook messenger
Go to file
2022-12-20 13:27:30 +03:00
.github/workflows update linter 2022-07-29 15:44:46 +03:00
examples Messenger downstream patches (#1) 2021-02-09 11:14:42 +03:00
.gitignore Messenger downstream patches (#1) 2021-02-09 11:14:42 +03:00
.golangci.yml update linter 2022-07-29 15:44:46 +03:00
actions.go Sender actions support 2022-07-29 15:40:30 +03:00
go.mod Messenger downstream patches (#1) 2021-02-09 11:14:42 +03:00
go.sum Wrapped errors with xerrors 2019-07-31 00:38:58 +03:00
LICENSE Initial commit 2016-04-13 10:35:25 +10:00
message.go Add mid field in read model (#17) 2022-02-10 11:59:44 +03:00
messenger_test.go update recipient (#8) 2021-08-24 10:13:05 +03:00
messenger.go Sender actions support 2022-07-29 15:40:30 +03:00
pass_thread_control.go Fixed staticcheck warnings 2019-07-25 14:37:27 +03:00
profile.go Pointer instead of slice in StructuredMessageElement (#3) 2021-02-17 15:15:29 +03:00
README.md Messenger downstream patches (#1) 2021-02-09 11:14:42 +03:00
receiving.go add referer_uri field for referral message 2022-12-19 16:59:30 +03:00
response_test.go buffer from decoder in unmarshal error 2022-01-27 17:18:26 +03:00
response.go allow specifying content-type while sending a file 2022-11-07 15:48:47 +03:00
settings.go Pointer instead of slice in StructuredMessageElement (#3) 2021-02-17 15:15:29 +03:00
unmarshal_error_test.go unmarshal error text 2022-01-28 12:24:58 +03:00
unmarshal_error.go json error text tests fix 2022-01-28 12:28:24 +03:00

Messenger

Build Status Coverage GitHub release Go Report Card GoLang version pkg.go.dev

This is a Go library for making bots to be used on Facebook messenger. It is built on the Messenger Platform. One of the main goals of the project is to implement it in an idiomatic and easy to use fashion.

You can find examples for this library here.

Tips

  • Follow the quickstart guide for getting everything set up!
  • You need a Facebook development app, and a Facebook page in order to build things.
  • Use ngrok to tunnel your locally running bot so that Facebook can reach the webhook.

Projects

This is a list of projects use messenger. If you would like to add your own, submit a Pull Request adding it below.

  • meme-maker by @paked: A bot which, given a photo and a caption, will create a macro meme.
  • drone-facebook by @appleboy: Drone.io plugin which sends Facebook notifications