A Node client for the Facebook Messenger Platform. A verification token for the first-time setup of your webhook. Optional, but will be required by Facebook when you first set up your webhook. Your App Secret token used for message integrity check. If specified, every POST request will be tested for spoofing. As well, it mounts /_status, which will return {"status": "ok"} if the middleware is running. If verify is specified in the bot options, it will mount a handler for GET requests that verifies the webhook. The underlying method used by bot.middleware() to parse the message payload, and fire the appropriate events. Use this if you've already implemented your own middleware or route handlers to receive the webhook request, and just want to fire the events on the bot instance.

Features

  • Requires Node >=4.0.0
  • See examples in the examples folder
  • Send a message with the payload to the target recipient
  • Send the media to the Attachment Upload API and call the callback if the upload is successful
  • Send the sender action senderAction to the target recipient, and call the callback if any
  • Set settings for the Get Started Button

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow messenger-bot

messenger-bot Web Site

You Might Also Like
Propelling Payments for Software Platforms Icon
Propelling Payments for Software Platforms

For SaaS businesses to monetize payments through its turnkey PayFac-as-a-Service solution.

Exact Payments delivers easy-to-integrate embedded payment solutions enabling you to rapidly onboard merchants, instantly activate a variety of payment methods and accelerate your revenue — delivering an end-to-end payment processing platform for SaaS businesses.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of messenger-bot!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Communications Software, JavaScript Frameworks, JavaScript Messaging Platform

Registered

2022-04-27