1.5.1 • Published 5 years ago

fbm-send-api v1.5.1

Weekly downloads
1
License
BSD-3-Clause
Repository
github
Last release
5 years ago

Facebook Messenger Send API

Helper methods for interacting with the send API, these perform validation of text lengths and also filter out any null or undefined values from button arrays.

Installation

Add this to your project with npm install --save ByteLondon/fbm-send-api.

Usage

Set up functions like this, to generate messages ready for sending to Facebook.

const mkFeedbackMessage = () => mkTextMessage('Are you happy?', mkQuickReplies({
  '👍': 'YES',
  '👎': 'NO'
}))

These can be used directly with the Send API, and also with some SAAS providers such as ChatFuel.

1.5.1

5 years ago

1.6.0

7 years ago

1.5.0

7 years ago

1.4.1

7 years ago

1.4.0

7 years ago

1.3.0

8 years ago

1.2.0

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago