Questions tagged [whatsapi]

WhatsAPI is part of Chat API, a PHP library for interfacing to WhatsApp Messenger. DO NOT USE this tag for general programming related to WhatsApp, use [whatsapp] instead.

WhatsAPI is part of Chat API, a PHP library for interfacing to WhatsApp Messenger.

Links:

187 questions
0
votes
0 answers

how Send multi contacts in one message in whatsapp-web.js

I use wwebjs to send messages but I'm confused about how to send messages to all the numbers that I captured from the html file the result is like this 085695036401,081545911622 and not working please help me const api = async (req, res) => { …
0
votes
0 answers

Whatsapp "click to chat" predefined message function, but to a group

It's possible to use the next link function, but with a group ID instead of a phone number? https://api.whatsapp.com/send?phone=+666666666&text=hello%20%how%are%you That would be very useful for sending tasks or custom messages to a whatsapp work…
Arturo
  • 1
  • 1
0
votes
0 answers

How do I reply to user's input in a chatbot

I am trying to create a chatbot that when chatted up gives the user a list of options on what the user wants eg A.check account balance B.Send money, then when the user enters A, the online chatbot should reply that particular user with another set…
0
votes
0 answers

Is it possible to send text as hyperlink using python without the use of html?

Through whatsapp both text and link (in the form of https://www.google.co.in) can be shared programmatically using python and cloud api tokens. Is it possible to send text as hyperlink through whatsapp? I tried sending a link but couldn't.
ayato
  • 1
  • 1
0
votes
0 answers

For loop processes one row and stop iterating through the csv file for WhatsApp/Facebook API

Hello Team Below is my code for sending WhatsApp chat messages using a CSV file it works for some time, then suddenly it stops to iterate through all and it stops at only row one or hangs to iterate through the CSV am not sure if it's the Facebook…
0
votes
1 answer

twilio whats app bot select one option from list

i'm doing this whatsApp bot auto response using twilio apis, i want user to select one option from list as shown in this pics, i check this link : https://developers.facebook.com/docs/whatsapp/guides/interactive-messages/ it's called List Messages,…
NoXSaeeD
  • 924
  • 1
  • 7
  • 13
0
votes
0 answers

Twilio Number responding to only ONE number

My Number getting response from api but other number write 'book' but it don't respond to it. Why is it happening , I am unable to figure it out. When I type 'book' in whatsapp to twilio number , I got response from my api written in python but when…
0
votes
1 answer

Codeigniter 3 rest whatsapp webhook verification

I am trying to verify Whatsapp business webhook, codeigniter rest configuration format is set as below $config['rest_default_format'] = 'json'; And sending the response using the following $wchalng =…
Alan
  • 59
  • 6
0
votes
1 answer

Why can't client.message.create() receive an f-string as argument for its body parameter?

I'm building a Flask API, and one of its use cases consists on sending a WhatsApp message to a requested phone number. So far, I've been testing this feature through Twilio's sandbox & phone number in a trial account. This is my use case code: def…
LeperAffinity666
  • 364
  • 4
  • 14
0
votes
1 answer

WhatsApp Integration using PHP

Cannot send message to my whatsApp using PHP error: {"error":{"message":"(#100) Param template must be a JSON object.","type":"OAuthException","code":100,"fbtrace_id":"AjrrMHcEN9C2jkiL8MNy_Rz"}}
0
votes
2 answers

Please tell me why this Whatsapp template is rejected by Whatsapp to use

I have submitted the following template for approval many times through woztell and got rejected. Apparently, the reason stated by Whatsapp - "Invalid_Format" I need to know exactly what are the invalid formats and mistakes that i have done, and how…
0
votes
1 answer

Whatsapp Api Cloud Image Upload Issue

I am trying to upload an image for whataspp cloud api , i've transformed curl code to c# using RestSharp but i got this error . I was triying to change the file parameter format but it doesn't work. I don't know if i am missing something in the json…
0
votes
2 answers

Validating whatsapp webhooks Payloads in laravel

I'm trying to validate the contents of a webhook payload from the whatsapp webhooks using the steps in the .Facebook developer docs, I dont understand what this mean Please note that we generate the signature using an escaped unicode version of the…
Blue Moon
  • 31
  • 9
0
votes
1 answer

WhatsApp cloud API webhook decrypt media type audio

I'm using whatsapp cloud api to build a chatbot, I configured webhook, and when the user sends an audio message I get the payload { from: 'xxxxxxxxxx', id: 'wamid.HBgMOTcyNTI2MzY2NjU1FQIAEhgUM0E3QjE0M0MyMTY5QjM0OTNFNzMA', timestamp:…
Manspof
  • 598
  • 26
  • 81
  • 173
0
votes
1 answer

How to generate permanent access token for WhatsApp Cloud API integration

I'm using WhatsApp Cloud API Integration for our company use case and all functionality will be server-to-server API call and I have to generate a Permanent token to call the WhatsApp API to send the message. I have submitted a request to get…