Posts under category Facebook WhatsApp Business API

I am developing a B2C application for local business. I will be developing separate apps for businesses and customers but to cater to the customers who do not have the app yet, I wish to provide Businesses with the functionality that they can send invoices to their customer's WhatsApp through my Business App from their WhatsApp Number.

How can I achieve this?

Thanks in advance

Installed whatasppp Business api followed the link https://developers.facebook.com/docs/whatsapp/installation

Logged into https://localhost:9090/

For registration, it requires a phone number and a certificate.

Setup the Whatsapp Business APP for phone number then added the number in Facebook business manager.

However, couldn't acquire the cerificate to complete the registration. There are instructions in the link https://developers.facebook.com/docs/whatsapp/api/account but couldn't follow it, there is no settings tab or whatsapp manager button to acquire the certificate as mentioned in 3rd point.

  1. Go to the Business Settings in your Facebook Business Manager.
  2. Click on WhatsApp Accounts under the Accounts menu, then select your WhatsApp Account from the WhatsApp Accounts list, if it isn't already highlighted.
  3. Go to the Settings tab, and click the WhatsApp Manager button.
  4. Under the Phone Numbers tab, you should see your phone numbers listed. Click the View button of the phone number you want the certificate for.

Useful Links

Embedded

https://www.facebook.com/business/help/2640149499569241

Direct - Intended for people developing applications for themselves or their organization

https://developers.facebook.com/docs/whatsapp/cloud-api/get-started

Verification

https://www.youtube.com/watch?v=Gtj82ugi-bI

I'm using google dialogflow to make a whatsapp chatbot. I need to access firestore which contains sensitive data in other collections. Admin sdk is usually used in cloud functions but since it can access any collection in firestore with ease, i wanted to know if it is safe to use it or should i opt for a different option such as firebase client sdk.

Dialogflow is linked to a third party service (QuickWork) which links my bot to Gupshup to use the whatsapp business api.

As specified in WhatsApp Business API, one inbound notification message contain a messages property, that is an array of objects: https://developers.facebook.com/docs/whatsapp/api/webhooks/inbound#fields

I always find only one element in this array, and I'm not sure when to expect more messages or if it is even possible with current version of the API.

Does anynone know how a user can send two or more messages in the same inbound notification?