Integrating Meta WhatsApp API with Application

Overview

This document merges Meta configuration steps with application processes for WhatsApp Cloud API integration, including embedded login, chat module, gateway connectivity, and webhooks. Covers permanent tokens, contact management, and business phone setup.

Meta Side Configuration

Create App in Facebook Developer Account

Basic App Settings

Then add the App ID & App Secret here:

Facebook Login For Business Settings

https://{{your-domain}}/admin/gateway/whatsapp/cloud/api/embedded-callback
https://{{your-domain}}/user/gateway/whatsapp/cloud/api/embedded-callback

Now, you need to have advanced access for the following permissions to use the embedded login feature (Subject to change):

If you have set up the meta end corretcly you can now test the automatic gateway creation connecting you r facebook account and business to the platform directly with the embedded system

But if you face any difficulties you can still add the gateway manually

Make sure to fetch available templates for the gateway

After a successful fetch your templates will now be available in the system. We recommend to acquire the permanent token from Meta. Free tokens will get expired after a certain period of time.

Web-hook Setup

Managing Contact Lists

Application Side Process

Dispatch Messages

Handle Replies and Chat Module