Skip to contentSkip to navigationSkip to topbar
On this page

Get started with Facebook Messenger (public beta)


(new)

Public Beta

Facebook Messenger is available as a Public Beta product, and the information contained in this document is subject to change.

Some features aren't yet implemented, and others may change before the product becomes Generally Available (GA). Public Beta products aren't covered by a Service Level Agreement (SLA).

In this tutorial, you'll complete the setup and configuration required to send a message with Facebook Messenger.


Review considerations

review-considerations page anchor

Complete the prerequisites

complete-the-prerequisites page anchor

Complete these steps before you set up messaging with Facebook Messenger:


Set up messaging with Facebook Messenger

set-up-messaging-with-facebook-messenger page anchor

Users communicate with your brand by messaging your Facebook Page. Twilio creates a Sender for each Facebook Page that you set up in the Twilio Console.

Follow these steps to set up messaging with Facebook Messenger.

  1. Install Facebook Messenger in the Twilio Console and connect to Facebook.

    1. Open the Channels page in the Twilio Console(link takes you to an external page).
    2. Click Facebook Messenger.
    3. Click Install.
    4. Agree to the terms of service and click Agree & Install.
    5. Click Connect with Facebook. Log in and follow the prompts to select the Facebook Pages to authorize as Senders.
  2. Configure a Facebook Page to use as a Sender.

    1. (Optional) In the Unique Name field, enter a name for your page.
    2. In the Select a Page field, select a Facebook Page to use as a Sender.
    3. In the Callback URL field, enter the callback webhook URL you set up.
    4. Click Save. Twilio creates an instance of the Facebook Page that you can use as a Sender.
  3. (Optional) Configure additional fields.

    After you authenticate and configure a Facebook Page to use as a Sender, you can configure the following optional parameters:

    Configuration parameterDescription
    Callback methodHTTP method to use with Callback URL.
    Fallback URLURL to which Twilio calls if the Callback URL returns an error.
    Fallback methodHTTP method to use with Fallback URL.
    Status callback URLA URL that Twilio calls when an outbound message's status changes. To learn more, see Track the Message Status of Outbound Messages.
    Status callback methodHTTP method to use with Status Callback URL.
  4. (Optional) Add more Senders.

    To configure more than one Facebook Page as a Sender, click Add Another Instance and repeat the previous steps for each Facebook Page.


Send messages with Facebook Messenger

send-messages-with-facebook-messenger page anchor

To learn how to send messages with Facebook Messenger, see Send a message with Facebook Messenger (public beta).