1
0
mirror of synced 2024-11-24 22:06:06 +03:00
Package messenger is used for making bots for use with Facebook messenger
Go to file
2022-01-31 13:34:15 +03:00
.github/workflows ioutil in unmarshal error 2022-01-27 14:56:47 +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 static code analysis (#2) 2021-02-15 12:08:41 +03:00
actions.go Pointer instead of slice in StructuredMessageElement (#3) 2021-02-17 15:15:29 +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 fix postback payload description in message 2021-11-02 16:40:33 +03:00
messenger_test.go update recipient (#8) 2021-08-24 10:13:05 +03:00
messenger.go unmarshal error text 2022-01-28 12:24:58 +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 ad referral fields 2022-01-13 14:50:17 +03:00
response_test.go buffer from decoder in unmarshal error 2022-01-27 17:18:26 +03:00
response.go unmarshal error text 2022-01-28 12:24:58 +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