Questions tagged [whatsapp-cloud-api]

50 questions
0
votes
0 answers

Send reply to users "button" message in WhatsApp cloud API

I'm trying to develop a bot for my booking business. Below is my starter bot flow: const axios = require("axios").default; function start_bot(msg_body, phone_id, token, from, user_name) { if (msg_body === "Hi") { axios({ method:…
0
votes
0 answers

How to list incoming messages on whatsapp? - NodeJs + Whatsapp API

I'm trying to use the whatsapp API to send and receive messages. I managed to understand most of the features of this API, but I still can't identify how to list the received messages. I'm using the glitch to register the webhook and the address is…
E. Biagi
  • 452
  • 3
  • 12
0
votes
0 answers

Meta Whatsapp messages API can't send template with image header

I'm trying to send message templates through meta's Whatsapp messges API. I can successfully send templates with text variables but not with media elements such as a header image. When I try send the request I get the expected response with a wamid…
0
votes
0 answers

Whatsapp Webhook, a phone number from the same whatsapp business api account answers instead of another

I've developed two Whatsapp webhooks, configured with different phone numbers from the same whatsapp business api account. I hosted them on different servers. One works correctly, the other when it receives a message, it's the phone number of the…
0
votes
2 answers

Whatsapp api taking up to 30 minutes to deliver message

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,…
0
votes
1 answer

Whatsapp Cloud API using our own number for send message

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":…
Yohanim
  • 3,319
  • 9
  • 52
  • 92
0
votes
0 answers

how can use ShellExecute Function to send image or PDF file to WhatsApp

Can you help me, how can use ShellExecute Function to send image or PDF file to WhatsApp Thank you and regards I'm used ShellExecute Function to send message will done and I hope to help me how to use ShellExecute Function to send media to…
Eraky
  • 11
  • 1
0
votes
0 answers

Whatsapp Cloud Message not getting delivered

My Template is approved by Meta My Token is working fine Language code is correctly updated (en_US) Permission is all set properly in the Meta App Below is my Node Js code, app.post("/send-confirmation", async (req, res) => { const { phoneNo,…
0
votes
0 answers

Getting ERR_BAD_REQUEST while trying to send message using Whatsapp Cloud API

I'm trying to send a confirmation message to the users using whatsapp could api. Below is my nodejs code, app.post("/send-confirmation", async (req, res) => { const { phoneNo, bookingId, name, tripType, origin, destination, bookedDate,…
0
votes
1 answer

How to access a WhatsApp template on Twilio using Python?

I have created multiple WhatsApp templates, but I am unsure of how to access them from the Twilio backend. Is there a way to access these templates?
Usman Afridi
  • 179
  • 1
  • 11
0
votes
1 answer

Sending messages and documents through WhatsApp API regularly

I want to send a customized message and/or a document to a list of people everyday using the Whatsapp API. This is the code I use import requests import json import time url = f"https://graph.facebook.com/v17.0/{ID}/messages" payload =…
Marvin
  • 49
  • 5
0
votes
0 answers

How to bring typeeffect on Whatsapp cloud API

I'm working on a product that involves a lot of calculations before sending a response back to the user. As a result, there is a long delay, and the user often follows up with multiple messages asking, "Hey, is this working?" If there is a way to…
Newbie_developer
  • 233
  • 1
  • 12
0
votes
0 answers

Whatsapp Business Api- Message template are going after 30mins

https://graph.facebook.com/v17.0/{{Phone-Number-ID}}/messages Headers contains Authentication token passing json body: { "messaging_product": "whatsapp", "recipient_type": "individual", "to": "{{Recipient-Phone-Number}}", "type":…
0
votes
0 answers

How to add whatsapp_business_management and whatsapp_business_messaging permission to your Facebook APP?

I have Facebook live application, i want to use with WhatsApp Cloud API. I have added whatsapp product to my app, connected it to BM account and expected to see permissions: whatsapp_business_management whatsapp_business_messaging In the…
Sergey Bakotin
  • 373
  • 1
  • 3
  • 15
0
votes
0 answers

Failed to validate the WhatsApp cloud api webhook url callback in Strapi

I deployed a Strapi project and run it through pm2 and nginx. I have a webhook api in https://zeusoftware.online/api/webhook. Here is my code for verify the webhook, I didn't implement the token, challenge and mode logic…
Bagusflyer
  • 12,675
  • 21
  • 96
  • 179