1
0
mirror of synced 2024-11-29 08:36:12 +03:00
messenger/README.md

19 lines
1001 B
Markdown
Raw Normal View History

2016-04-15 03:26:04 +03:00
# Messenger [![GoDoc](https://godoc.org/github.com/paked/messenger?status.svg)](https://godoc.org/github.com/paked/messenger)
2016-04-13 10:09:28 +03:00
2016-04-13 12:51:28 +03:00
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.
2016-04-13 10:09:28 +03:00
2016-04-15 03:41:03 +03:00
[You can find an example of how to use it here](https://github.com/paked/messenger/blob/master/cmd/bot/main.go)
2016-04-14 13:10:40 +03:00
## Tips
2016-04-15 03:33:50 +03:00
- Follow the [quickstart](https://developers.facebook.com/docs/messenger-platform/quickstart) guide for getting everything set up!
2016-04-14 13:10:40 +03:00
- You need a Facebook development app, and a Facebook page in order to build things.
- Use [ngrok](https://ngrok.com) to tunnel your locally runnning bot so that Facebook can reach the webhook.
2016-04-13 10:09:28 +03:00
## Inspiration
Messenger takes design cues from:
- [`net/http`](https://godoc.org/net/http)
- [`github.com/nickvanw/ircx`](https://github.com/nickvanw/ircx)