1
0
mirror of synced 2024-11-22 04:46:05 +03:00
Package messenger is used for making bots for use with Facebook messenger
Go to file
2016-09-18 14:13:02 +10:00
cmd/bot Fix wrong function handle read (#8) 2016-08-19 19:47:04 +10:00
.gitignore Add handling receiving messages 2016-04-13 16:14:23 +10:00
actions.go Add Read event support. Update description of Delivered events (#7) 2016-08-18 09:41:25 +10:00
LICENSE Initial commit 2016-04-13 10:35:25 +10:00
message.go * Added ability to set greeting setting, get started setting and persistent menu setting 2016-09-11 22:49:56 +03:00
messenger.go Fix profile fields not being entirely populated 2016-09-18 14:13:02 +10:00
profile.go Add Read event support. Update description of Delivered events (#7) 2016-08-18 09:41:25 +10:00
README.md Added the new breaking change in README 2016-09-11 22:51:57 +03:00
receiving.go * Added ability to set greeting setting, get started setting and persistent menu setting 2016-09-11 22:49:56 +03:00
response.go * Added ability to set greeting setting, get started setting and persistent menu setting 2016-09-11 22:49:56 +03:00
settings.go * Added ability to set greeting setting, get started setting and persistent menu setting 2016-09-11 22:49:56 +03:00

Messenger GoDoc

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 an example of how to use it 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 runnning bot so that Facebook can reach the webhook.

Breaking Changes

paked/messenger is a pretty stable library however, changes will be made which might break backwards compatibility. For the convenience of its users, these are documented here.

  • 12/9/16: Removing unused parameter text string from function (r *Response) GenericTemplate.
  • 20/5/16: Leaving the WebhookURL field blank in Options will yield a URL of "/" instead of a panic.
  • 4/5/16: The URL to use for the webhook is changable in the Options struct.

Inspiration

Messenger takes design cues from: