A Clojure Library for the Facebook Messenger Platform.
This library has the following functions:
(authenticate params)
(send-text-message recipientId message)
fb-messenger
is available as a Maven artifact from Clojars.
With Leiningen/Boot:
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]))
See how to set up a Facebook Messenger Bot in the wiki.
Code examples include:
- Echo Bot
- Processing a text message
- Use parinfer.
- Follow the Clojure Style Guide.
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.