Questions tagged [whatsapp-cloud-api]
50 questions
0
votes
0 answers
Sending messages with whastapp business cloud api
When I send a message
curl -X POST \
'https://graph.facebook.com/v17.0/FROM_PHONE_NUMBER_ID/messages' \
-H 'Authorization: Bearer ACCESS_TOKEN' \
-H 'Content-Type: application/json' \
-d '{"messaging_product": "whatsapp", "to":…

Demo
- 1
0
votes
0 answers
I am trying to use whatsapp message template but I'm getting this error
0
I am trying to use whatsapp message template but I'm getting this error, the formatting of whatsapp template call to action is causing this error.
Every time I try i get this error…

Rehan MK
- 1
- 1
- 2
0
votes
0 answers
I'm not able to use whatsapp message templates
I am trying to use whatsapp message template but I'm getting this error, the formatting of whatsapp template call to action is causing this error.
Every time I try i get this error…

Rehan MK
- 1
- 1
- 2
0
votes
0 answers
Can I send interactive messages with Call-to-Action buttons without having to create my own message template? Whatsapp cloud API
{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "MO_NUMBER",
"type": "interactive",
"interactive": {
"type": "button",
"body": {
"text":"this is the…

Rahul Waghela
- 1
- 1
0
votes
1 answer
How to send multiple images using Watsapp API
I'm trying to send multiple images over on WhatsApp. When I'm sending text or one image, it is working.
But it is not working when I'm sending multiple images. Can I send multiple images by sharing the S3 link?
type MessagePayload = { body:…

Arsene Wenger
- 587
- 4
- 21
0
votes
0 answers
WhatsApp Cloud API: How to check if a registered Phone Number is TEST NUMBER or PRODUCTION NUMBER?
I have searched the Meta WhatsApp Graph API Doc + tested & used their Facebook Developer Graph API Explorer (https://developers.facebook.com/tools/explorer/)
But I am still not able to find the parameter to show the TYPE of the phone number:
I…

yeln
- 462
- 2
- 10
- 23
0
votes
1 answer
Whatsapp unable to detect signed in google accounts in my mobile
I have a backup of all my whatsapp data in my google drive. Data is really important to me but when I'm trying to reinstall whatsapp and giving it permission to get backup it is not able to detect google account only from my mobile, It just shows…
0
votes
0 answers
Get message text when using Twilio template (with content variables) for WhatsApp API
I'm using a Twilio template that has variables to send a message on WhatsApp, but I want to store the message text in my own tables. However, because it's a template there is no defined "body" variable, so I'm not able to just use message.body to…
0
votes
0 answers
Whatsapp API can't return chats?
I scrolled through their documentation and saw that there's no way of receiving your chats. It says something about them just lasting 24 hours?
Did I read/understand it right and is there no way of receiving the chats with the included messages? If…

PioPio
- 23
- 3
0
votes
1 answer
POST requests with Nodejs (Cannot set headers after they are sent to the client js)
I'll tell you my problem, some time ago I started a project using the whatsapp api in principle it was going to be just a bot, but I decided to extend it and make a frontend that in addition to having a bot a person can give support.
I've been…

TyRex
- 53
- 5
0
votes
1 answer
Whatsapp cloud API integration with react web app
I am trying to integrate my web app with Whatsapp cloud API. I am able to send test messages but I want to add variables and API documentation says it can accept it as well but I am not able to pass data.
Call for sending message:
const sendMessage…
0
votes
0 answers
TCP connection get hang when sending 100k messages throughout Whatsapp cloud api
I have 100k whatsapp numbers and i try to send message for each number.
I have two server one to send messages and the other one to receive whatsapp webhook notification.
The issue that the webhook server some time can take time to response to…

Ahmed Zeini
- 93
- 1
- 7
0
votes
1 answer
Trouble with webhook for whatsapp
I am writing a webhook in C# to receive messages, change state and so on from whatsapp business platform.
My webhook receives data correctly from meta, but I cannot understand how to convalidate URL.
This is my very simple code
public partial class…

Demo
- 1
0
votes
0 answers
Tried accessing nonexisting field (contacts) on node type (WhatsAppBusinessPhoneNumber)
everyone
I'm trying to use WhatsApp Cloud API to check if the user has WhatsApp number or not as the documentation says
"Use the contacts node to manage WhatsApp users in your database by validating them before sending messages and verify a user's…

Emad Younan
- 103
- 6
0
votes
0 answers
Send audio Whatsapp API, it returns success but the audio does not arrive on the phone
I'm trying to send an audio to the whatsapp API, below the code and the return, it returns success but the audio does not arrive on the cell phone
SEND MEDIA
curl --request POST \
--url https://graph.facebook.com/v17.0/xxxxxxxxxx/media \
…

Nagi
- 319
- 1
- 3
- 11