Posts tagged with whatsapp-cloud-api

I was doing coding in node js but in that it there is requirement of setup like that

APP_ID=<<YOUR-WHATSAPP-BUSINESS-APP_ID>> APP_SECRET=<<YOUR-WHATSAPP-BUSINESS-APP_SECRET>> RECIPIENT_WAID=<<YOUR-RECIPIENT-TEST-PHONE-NUMBER>> VERSION=v13.0 PHONE_NUMBER_ID=<<YOUR-WHATSAPP-BUSINESS-PHONE-NUMBER-ID>> ACCESS_TOKEN=<<YOUR-SYSTEM-USER-ACCESS-TOKEN>>   

I got all credential accept app_secret. I am unable to find that if anyone know how can I get app_secret please let me know.

Thanks in advance.

I searched on dashboard but couldn't find that.

Facebook has the following API -

https://graph.facebook.com/API_VERSION/me?fields=FIELDS&access_token=ACCESS_TOKEN 

Does WhatsApp have a similar API where I can get all account information, such as phone number ID and business account ID, by using only the access token and nothing else? I have searched the official documentation and all the APIs I have come across either use the business account ID or the phone number ID to retrieve account information.

I would really appreciate any suggestions provided. Thank you.

How can I integrate my WhatsApp for business (not using any 3rd party tools like Pabbly, WANotifier, etc.) to send a pdf document (Purchase Order details) to the customers without having to send a welcome text message and the customer not having to reply back with anything to receive the pdf document (Purchase Order details)?.

Note: if this is not possible then how does MakeMyTrip and book my show works where in which when we book tickets or shows we receive a pdf file (booking details) without we in person initiating the conversation of asking the booking details.

Went through the official MetaforDevelopers document https://developers.facebook.com/docs/whatsapp/cloud-api but couldn't find any solutions.

If somebody finds something out of the document link attached above related to my requirement, please let me know! Thanks in advance!

I'm new to the meta business platform. I'm currently setting up a whatsapp business account to send messages programaticaly. I'm able to use the api to send messages and make use of templates. The problem is that the messages are being delivered, but with a delay of over 30 minutes.

The api endpoint I'm using is https://graph.facebook.com/v17.0/{{ _.phoneId }}/messages

Is there any settings required to make them be delivered as fast as possible?

I have registered 2 numbers and it's connected. The problem is, I wanted to use our own number not a test number on this API Call

https://graph.facebook.com/{{Version}}/{{Phone-Number-ID}}/messages {     "messaging_product": "whatsapp",     "to": "{{Recipient-Phone-Number}}",     "type": "template",     "template": {         "name": "hello_world",         "language": {             "code": "en_US"         }     } } 

I have successfully sent the message by the test number. My question is how to use our own number?

From the app dashboard, I have checked the production number is zero but on the WhatsApp business manager I have 3 numbers, 1 for testing and 2 is should be act as the production number. I have 2 waba ID and pretty sure I use the correct one.

When trying to

https://graph.facebook.com/{{Version}}/{{WABA-ID}}/phone_numbers {     "error": {         "message": "Unsupported get request. Object with ID '*****' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api",         "type": "GraphMethodException",         "code": 100,         "error_subcode": 33,         "fbtrace_id": "Ac5S6tqiApK**l1Y_t4nv"     } } 

Does it require BSP to use my Own Number? How to get the phone-number-id?

Ps. My 2 other numbers are already connected with messagebird and it can send messages successfully.