• This repository has been archived on 01/Jan/2023
  • Stars
    star
    274
  • Rank 145,352 (Top 3 %)
  • Language
    Go
  • License
    MIT License
  • Created about 8 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

See github.com/sSimuSs/messenger for an up-to-date fork of this repo.

Messenger GoDoc Build Status

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.

We tag our releases Semver style.

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

In January 2019 we began tagging releases so that the package could be used properly with Go modules. Prior to that we simply maintained the following list to help users migrate between versions, it's staying here for legacy reasons. From now on, however, you should find breaking changes in the notes of a new release.

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.

  • 06/2/18: Added messaging_type field for message send API request as it is required by FB
  • 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

More Repositories

1

configure

Configure is a Go package that gives you easy configuration of your project through redundancy
Go
56
star
2

zrlify

Zach Latta-ify your web browsing experience!
JavaScript
17
star
3

down

A Markdown engine in Go!
Go
3
star
4

dotfiles

my dotfiles
Vim Script
3
star
5

pipe-ist

A back to basics build tool for JavaScript, TypeScript and pretty much everything else
TypeScript
3
star
6

stm32-vscode-simple

a project template for assembly level hacking with the stm32l476vg with vscode.
Assembly
3
star
7

loaf

Loaf is a toy programming language.
C++
2
star
8

lang

Lang is a small programming language, which does very little
Go
1
star
9

ponzies-the-game

A video game adaption of the ponz.ies startup we all know and love!
Haxe
1
star
10

gerrycode

Review projects.
Go
1
star
11

annoy

i'm sorry chicago hacks attendees :(
Ruby
1
star
12

go-fibonacci

fibonacci number generator for school science project
Go
1
star
13

becomethethey.today

JavaScript
1
star
14

qoe

HTML
1
star
15

restrict

Package restrict is an unidiomatic Go library for working with JWTs
Go
1
star
16

esoteric-adventures

#LD48 Esoteric adventures is a game where you battle against the corporations in order to save your forest and furthermore the world from being put under the power of the right wing.
JavaScript
1
star
17

night

A PHASER PLATFORMER. I WILL PROBABLY KEEP WORKING ON THIS. IT IS AN EXAMPLE
JavaScript
1
star
18

distance-matrix

A small wrapper around the google distance matrix API.
Python
1
star
19

go-ircclient

A simple IRC client made in go
Go
1
star
20

opengl-a-day

I'm going to learn OpenGL. One day at a time... Hopefully... (Future Harrison, I sure hope you followed through one this) edit: i did, just not in this repo lol
C++
1
star
21

lornock

a game made with Handmade-ish C++ and OpenGL, a bit of a mess
C++
1
star
22

nutrimon

nutrimon
Go
1
star