* add processing response from facebook * add receipt message payload * Restore checkFacebookError * add metadata in MessageData * improve optional ProfileFields * Fix conflict with receiving.go while cherry-picking * Add title to payload * Move to Github Actions & new package name * fix for example * remove limit for parallel runs
25 lines
2.0 KiB
Markdown
25 lines
2.0 KiB
Markdown
# Messenger
|
|
[](https://github.com/retailcrm/messenger/actions)
|
|
[](https://codecov.io/gh/retailcrm/messenger)
|
|
[](https://github.com/retailcrm/messenger/releases)
|
|
[](https://goreportcard.com/report/github.com/retailcrm/messenger)
|
|
[](https://golang.org/dl/)
|
|
[](https://pkg.go.dev/github.com/retailcrm/messenger)
|
|
|
|
This is a Go library for making bots to be used on Facebook messenger. It is built on the [Messenger Platform](https://developers.facebook.com/docs/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](https://github.com/retailcrm/messenger/blob/master/examples/).
|
|
|
|
## Tips
|
|
|
|
- Follow the [quickstart](https://developers.facebook.com/docs/messenger-platform/quickstart) guide for getting everything set up!
|
|
- You need a Facebook development app, and a Facebook page in order to build things.
|
|
- Use [ngrok](https://ngrok.com) 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](https://github.com/retailcrm/messenger/pulls/new) adding it below.
|
|
|
|
- [meme-maker](https://github.com/paked/meme-maker) by @paked: A bot which, given a photo and a caption, will create a macro meme.
|
|
- [drone-facebook](https://github.com/appleboy/drone-facebook) by @appleboy: [Drone.io](https://drone.io) plugin which sends Facebook notifications
|