All Projects → ClaudeBot → hubot-messenger-bot

ClaudeBot / hubot-messenger-bot

Licence: other
🔌 A Hubot adapter for Facebook Messenger Platform (Bots) with zero external dependencies.

Programming Languages

coffeescript
4710 projects

Projects that are alternatives of or similar to hubot-messenger-bot

facebook-messenger
Go (GoLang) package for Facebook Messenger API and Chat bot
Stars: ✭ 62 (+40.91%)
Mutual labels:  facebook, facebook-messenger-platform, facebook-messenger-api
Facebook-Auto-Pilot
Automate common Facebook activities such as posting to groups and pages walls. Effortlessly post to multiple groups or pages.
Stars: ✭ 126 (+186.36%)
Mutual labels:  facebook, facebook-messenger-platform
st2chatops
Packaging environment for building StackStorm chatops native packages
Stars: ✭ 26 (-40.91%)
Mutual labels:  hubot, chatops
docker-hubot
Docker container for running hubot in a container.
Stars: ✭ 17 (-61.36%)
Mutual labels:  hubot, chatops
hubot-typescript-boilerplate
ChatOps made easier
Stars: ✭ 20 (-54.55%)
Mutual labels:  hubot, chatops
Hubot Slack
Slack Developer Kit for Hubot
Stars: ✭ 2,260 (+5036.36%)
Mutual labels:  hubot, hubot-adapter
hubot-code-review
A Hubot script for GitHub code review on Slack.
Stars: ✭ 38 (-13.64%)
Mutual labels:  hubot, chatops
hubot-zulip
No description or website provided.
Stars: ✭ 19 (-56.82%)
Mutual labels:  hubot, hubot-adapter
Concierge
Modular chat bot. (Karma + Sassy + Hubot) * (Discord + Facebook + Messenger + Slack + Skype + Telegram + Hipchat + ...) = Concierge
Stars: ✭ 121 (+175%)
Mutual labels:  hubot, facebook
Showcase Ansible Chatops
Vagrant Demo showing ChatOps with Ansible
Stars: ✭ 71 (+61.36%)
Mutual labels:  hubot, chatops
Sactive Bot
😈 An extensible chat bot framework. sactive-bot is an evolution of the open source hubot project. - https://www.shipengqi.top/sactive-bot .
Stars: ✭ 212 (+381.82%)
Mutual labels:  hubot, chatops
ansible-hubot
💬 Ansible role for Hubot
Stars: ✭ 63 (+43.18%)
Mutual labels:  hubot, chatops
hubot-ansible
A hubot script for launching ansible commands
Stars: ✭ 14 (-68.18%)
Mutual labels:  hubot
ffeed
A simple page that returns the feed of a specific facebook page and group.
Stars: ✭ 19 (-56.82%)
Mutual labels:  facebook
OAuthLogin.AspNetCore
第三方平台联合登陆(facebook、微信、微博、QQ、Kakao)
Stars: ✭ 43 (-2.27%)
Mutual labels:  facebook
crawler
Crawler with Python 3.
Stars: ✭ 34 (-22.73%)
Mutual labels:  facebook
hubot-suggest
Suggest hubot commands when not found
Stars: ✭ 29 (-34.09%)
Mutual labels:  hubot
awosome-ai-in-social-media
💻 Collect those AI & Bot use in social media wechat/facebook/twitter/instagram/weibo/TikTok etc.
Stars: ✭ 21 (-52.27%)
Mutual labels:  facebook
fb-export
Export (most) of your Facebook data using Node.js and the Graph API.
Stars: ✭ 21 (-52.27%)
Mutual labels:  facebook
OAuthLogin
第三方平台联合登陆(facebook、微信、微博、QQ、Kakao)
Stars: ✭ 57 (+29.55%)
Mutual labels:  facebook

hubot-messenger-bot

A Hubot adapter for Facebook Messenger Platform (Bots) with zero external dependencies.

The most simple, and elegant Facebook Messenger Platform adapter for Hubot.

This is built for the latest Facebook Messenger Platform (Beta) with bots announced at F8 2016 (Code to Connect). It leverages on the platform's Send / Receive API. It is tested, and ready-to-use. This repository is NOT affiliated with Facebook.

This adapter currently supports:

  • Token validation
  • Basic sending / receiving
  • Resolving user IDs to their full names
  • Tracking user ID, message ID, recipient ID (page)
  • Auto-truncating long messages

320 characters limit

At the time of writing, the Send API only allows up to 320 characters. We strongly recommend using a plugin like hubot-longtext to gracefully handle long messages.

See src/messenger.coffee for full documentation.

Getting Started

Refer to Getting Started - Messenger Platform, and Complete Guide - Messenger Platform for more information.

The callback URL is http://your-bot-address:8080/webhook/.

You can test your bot locally using ngrok. Run ./ngrok http 8080, and it should return a HTTPS forwarding URL (be sure to append /webhook/ to it).

The adapter requires your verification token, and access token to function. You can set them via environment variables. Refer to Configuration for more information.

Installation via NPM

npm install --save hubot-messenger-bot

Now, run Hubot with the messenger-bot adapter:

./bin/hubot -a messenger-bot

Configuration

Variable Default Description
MESSENGER_VERIFY_TOKEN N/A Your bot's verification token. You can obtain one when you create a web hook to receive events for a specific page.
MESSENGER_ACCESS_TOKEN N/A Your page access token (it is based on an app, page, and user). You can find it in the "Token Generation" section of your app dashboard.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].