Posts tagged with whatsapp

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

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?

I am integrating with the Twilio API to send WhatsApp for Business messages. For the most part, so far everything has been straight forward. However, I foresee the need to be adding new WhatsApp phone numbers and templates in the future. While I have no problem using the Twilio UI to create these new resources, I was curious if there was a way to list the newly added phone numbers and templates in my app via their API. This would help ensure an update to the application wouldn't be needed each time that a new phone number or template is added.

I have found this other question from over a year ago which may indicate that listing phone WhatsApp phone numbers currently isn't possible. However, this question doesn't address listing templates and due to its age I also wanted to reask the community in case anything has changed. Identify Whatsapp phone number when listing Twilio phone number

Thanks!