Meta WhatsApp Integration
To integrate WhatsApp, follow these steps:
Creating Accounts
Step 1: If you do not have a Facebook account, create one using this Facebook link. If you already have an account, log in.
Step 2: Visit the Meta for Developers website and create a Meta developer account.
Setting Up Meta Developer
Step 1: Log in to your Meta developer account and click on the Get Started button.
Step 2: Create your account, register, and update your contact information.
Step 3: Choose the developer option in the About you section and click on Complete Registration.
Creating and Configuring the App
Step 1: Select All Apps and click on Create App.
Step 2: Enter the app name and contact email, then proceed to Next.
Step 3: Choose the Use Case and select Others.
Step 4: Select the business option and click Next.
Step 5: In the details section, click on Create app.
Setting Up WhatsApp
Step 1: Click on Set up for WhatsApp to use the WhatsApp API.
Step 2: Go to Quickstart and click on Continue to create a Meta business portfolio.
Step 3: Click on Create an account.
Step 4: Enter the business account name, your name, and email.
Step 5: Meta will verify your email. Once confirmed, you will be redirected to the app. Click on Continue.
Access Token and Message Generation
Step 1: Generate a permanent access token by navigating to Setting.
Step 2: Within Settings, open System users, click on user and then click Generate Token.
Step 3: A popup model appears, Select the app created priviously.
Step 4: Select the expire date, you can select never.
Step 5: Assign the permissions to user, search for "whats", select the permissions shown below.
Step 6: The access token will be generated.
Step 7: The recipient phone number will receive a message from the Meta test number with the default hello_world Meta template.