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
Napersoft CCM Document Platform for Batch, Interactive and OnDemand Management Icon
Napersoft CCM Document Platform for Batch, Interactive and OnDemand Management

For Health Insurance, Banking, Government plus others

Napersoft CCM Express Document Platform provides software solutions that automate the creation and distribution of all types of documents such as customer correspondence, policies, agreements, explanations of benefits and other forms of personalized documentation.
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