/fb-messenger-clj

A Clojure Library for the Facebook Messenger Bot API

Primary LanguageClojureEclipse Public License 1.0EPL-1.0

fb-messenger-clj

A Clojure Library for the Facebook Messenger Platform.

About

This library has the following functions:

(authenticate params)
(send-text-message recipientId message)

Installation

fb-messenger is available as a Maven artifact from Clojars.

With Leiningen/Boot:

Clojars Project

Quickstart

The Facebook Messenger Library is provided by the fb-messenger namespace.

First, require the namespace needed (for example auth) in the REPL:

(require '[fb-messenger.auth :as fb])

Or in your application:

(ns my-app.core
  (:require [fb-messenger.auth :as fb]))

Code Examples

See how to set up a Facebook Messenger Bot in the wiki.

Code examples include:

  • Echo Bot
  • Processing a text message

Contributing

  1. Use parinfer.
  2. Follow the Clojure Style Guide.

License

The use and distribution terms for this software are covered by the Eclipse Public License 1.0. You must not remove this notice, or any other, from this software.

Disclaimer: This software is not affiliated to Facebook or represents Facebook in any way.