The Messages API allows you to send a Facebook Messenger message. In this tutorial you learn how to receive a Messenger message and then return a message.

This tutorial provides a step-by-step guide to installing the required tools, building your application, writing the code and testing. The message sent is plain text.

For further background information on WhatsApp messaging see our supporting documentation.

NOTE: This task assumes you have already created a Facebook Profile and a Facebook Page.

Sending a Facebook Messenger message

The Messages API provides the ability to send messages to various channels, including Facebook Messenger, SMS, WhatsApp and Viber. This task looks at using the Messages API to send a Facebook Messenger message.