messenger

Package messenger is used for making bots for use with Facebook messenger

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

  • 23/1/17: Updating timezone type to float64 in profile struct
  • 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:

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

Related Repositories

Messenger

Messenger

This is a native iOS Messenger app, with audio/video calls and realtime chat conversations (full offline support). ...

fb-mac-messenger

fb-mac-messenger

⚡️ Mac app wrapping Facebook's Messenger for desktop ...

Messenger-for-Desktop

Messenger-for-Desktop

Bring messenger.com to your OS X, Windows or Linux desktop. ...

messenger-bot-tutorial

messenger-bot-tutorial

Facebook Messenger bot 15 minute tutorial ...

messenger-platform-samples

messenger-platform-samples

Messenger Platform samples for sending and receiving messages. Walk through the Get Started with this code. https://developers.facebook.com/docs/messenger-platform/quickstart ...