Posts tagged with whatsapp

I am new in whatsapp business API integration and i successfully installed Docker and postman collection.

Referring below link : https://developers.facebook.com/docs/whatsapp/installation/dev-single-instance

Now in postman collection they mentioned regarding {{ URL }}

Collection Link : https://developers.facebook.com/docs/whatsapp/guides/postman

The first thing you should replace is the URL which represents the webapp endpoint. You'll see that all of the requests will reference this variable via {{URL}} so it's important you get this right.

How can i get this Valid URL ?

I tried hard but unable to find it.

Help me if anybody know this.

Thanks in advance.

I know that Amazon Lex bots can be included inside a Contact Flow in Amazon Connect and that Lex bots can link to Channels including Facebook Messenger but I’m unsure how to initiate a new Contact Flow instance from a new Facebook user connecting via Facebook Messenger or similar via Twilio WhatsApp API. Chat has only just been added to Amazon Connect so might not yet be supported directly so open to external solutions.

I need to send a Calendar file (ICS) from the REST Api but i can`t.

Nevertheless, I could send a jpg file. In this article Twilio staff announced that users can send images and videos, but also PDFs, text files, and audio files using the Twilio API for WhatsApp.

This is my call with JPG file that attach the media in a whatsapp message OK:

curl -X POST \ https://api.twilio.com/2010-04-01/Accounts/ACYYYYYYYYYYYYYYYYY/Messages.json \ -H 'authorization: Basic  XXXXXXXXXXXXX' \ -H 'cache-control: no-cache' \ -H 'content-type: application/x-www-form-urlencoded' \ -H 'postman-token: 58fa6aca-3b92-66d4-f675-9906bed37302' \ -d 'To=whatsapp%3A%2BXXXXXXXX&From=whatsapp%3A%2BYYYYYYY&Body=Hola%20probando2&MediaUrl=https%3A%2F%2Flh4.googleusercontent.com%2F-nbafRpNzZAc%2FWjHLp8y3NOI%2FAAAAAAAAAAA%2Fc8CSoPlcgcAazvZFKSU3uYxwo3HZ7FVewCOQCEAE%2Fs128-c-k%2Fphoto.jpg%0A' 

When i substitute MediaUrl path with a txt file path or ics file, the message wasn't attach the file:

for example something like this:

curl -X POST \ https://api.twilio.com/2010-04-01/Accounts/ACYYYYYYYYYYYYYYYYY/Messages.json \ -H 'authorization: Basic  XXXXXXXXXXXXX' \ -H 'cache-control: no-cache' \ -H 'content-type: application/x-www-form-urlencoded' \ -H 'postman-token: 58fa6aca-3b92-66d4-f675-9906bed37302' \ -d 'To=whatsapp%3A%2BXXXXXXXX&From=whatsapp%3A%2BYYYYYYY&Body=Hola%20probando2&MediaUrl=https:%2F%2Faaa.bbb.com%2Fccc%2Fcalendar.ics%0A' 

One of my project , my security team asking me to share the whatsapp business api docker images hash values to promote docker images to our own docker repository.

These values i couldn't find in facebook whatsapp documentation .

After pulling the images i can get the hash values but security team wants to compare the downloaded one is the proper one or not .

  docker.whatsapp.biz/coreapp   docker.whatsapp.biz/web 

How can i access the whatsapp business api docker repository in internet ? Any lead ?