Link your Facebook Page to your Vonage account

The process of completely linking your application to your Facebook consists of two parts:

  1. Linking your Facebook page to your Vonage account
  2. Linking your Facebook page to a specific Vonage application

There may be occasions where you want to link your Vonage account to a Facebook page, but have not yet created a Vonage application. This is fine, as long as after you create your Vonage application, you then link that application to your Facebook page. This step shows both parts of the complete process.

Linking your Facebook page to your Vonage API account allows Vonage to handle inbound messages and enables you to send messages from the Messages API.

  1. To link your Facebook page to your Vonage API account visit the Link Facebook Page in your dashboard.

  2. Log into your Facebook account from the dashboard.

  3. Select the Facebook Page you want to connect to your Vonage API account from the drop down list.

  4. Select the API key you'd like to use.

  5. Click Complete setup.

At this point your Vonage API Account and this Facebook Page are linked. The link between your Vonage API account and Facebook page expires after 90 days. After then you must re-link it using the same process.

Once your Facebook page is linked to your Vonage account, it becomes available for use by any of your applications. To link the Facebook page to a Vonage application:

  1. Navigate to your applications page.

  2. From the list, click on the application you want to link. You can filter by using the Capabilities drop down and selecting messages to make this easier.

  3. Then, select the Linked external accounts tab.

  4. Click the Link button beside the Facebook Page you want to link your application to, ensuring that the Provider is Facebook Messenger.

You're now ready to receive messages users send to you on your Facebook Page.

NOTE: If in the future you want to link a different application to this Facebook page, you only need to repeat the procedure described in Part 2, for the new application.

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.