Skip to main content

Connect Facebook Page with WhatsApp Account

Introduction

This guide explains how to link your NewRA account with WhatsApp business account.

Requirements

Before you begin, make sure you have a Facebook app and a business phone number associated with it. If you haven't created one yet, please do so before proceeding with the following steps.

1. Access Meta for Developers Page:

Visit the Meta for Developers page and log in using your Facebook account.

2. Navigate to Your App

On the Developers page, locate and click on My Apps, then select your specific app.

3. Add WhatsApp Product

On your app's dashboard, navigate to the left menu, click "Add Product," and then choose "Set up" within the WhatsApp tile.

4. Configure WhatsApp Settings

In the left menu, go to "Configuration" under WhatsApp and click "Edit."

5. Set Callback URL

In the "Edit webhook's callback URL" popup, enter the pre-filled Webhook URL from the WhatsApp Business integration form to expose your application (e.g., https://yourdomain.com/api/whatsapp/29b05307-****-****-****-1bf1c0b4c67d).

6. Verify Token

Enter the security token highlighted in the Webhook URL field in the "Verify token" section and click "Verify and save."

7. Validate Webhook

Once you add the webhook, WhatsApp will send a validation post request to your application.

8. Manage Webhook Fields

Back on the Configuration page, click "Manage."

9. Subscribe to Messages

In the "Webhook fields" popup, click "Subscribe to the messages" field. You can also subscribe to multiple fields if needed. Currently, we support messages only.

10. Test Message Subscription

Click "Test" for the messages field and confirm that your localhost app receives a POST request.

11. Manage Phone Numbers

In the left menu, go to "API Setup" under WhatsApp and copy the Temporary access token, Phone number ID, and WhatsApp Business Account ID. Place this information into the WhatsApp Business integration form.

Following these steps will successfully connect your Facebook Page with your WhatsApp account for streamlined communication.