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
3
votes
1 answer

Sending message to all my contacts on whatsapp using whatsapp-web.js

Hi I´m currently doing a code to send a message to all my contacts, I've been able to send a message to only one contact, do anyone know a way to automatize this, for example send a message to my first 5 contacts, or all my contacts? Here is my…
RomeroV
  • 31
  • 1
  • 2
3
votes
1 answer

Whatsapp url query string parametrs

What is the pourpose of &source=, &data= and &app_absent query strings parametres in the whatsapp url (https://api.whatsapp.com/send?phone=XXXXXXXXXXX&text=&source=&data=&app_absent=) ? It is possible to track WhatsApp message's source filling these…
André Schuck
  • 33
  • 1
  • 4
3
votes
2 answers

Whatsapp share link does not work in safari

I'm using this approach: https://stackoverflow.com/a/25796908/3437433 It works like a charm, but when I'm trying to use it in Safari (both desktop and mobile), then quite strange things happen. On desktop, origin link https://wa.me/?text=123 is…
jeron-diovis
  • 788
  • 1
  • 8
  • 19
3
votes
3 answers

Check if number has whatsapp via whatsapp web

I know it's possible to create a button to start a conversation for a number. But is it possible to check first if this number has whatsapp? I need a grid with multiple numbers, and show the option to start conversation only for numbers that have…
JPSM
  • 41
  • 1
  • 5
3
votes
1 answer

API Whatsapp to send messages from an external application

I want to implement Whatsapp to send information from an external application. The idea is to use this external application to send information throughout Whatsapp. If you can help me about the terms and conditions and if this query is possible to…
3
votes
2 answers

send whatsapp messages using WhatsappAPI in c#

I have installed WhatsappAPI from NuGet package manager and tried to implement code but could not register my mobile number through WART (WhatsApp Registration Tool).Its giving error LIKE {Status:"Failed",Reason:"Bad_Request"} all the time. I have…
Riddhi jadeja
  • 31
  • 1
  • 1
  • 4
3
votes
0 answers

Issues Configuring WhatsApp API (C#)

I'm trying to configure WhatsApp API in C#. I tried to implement it using examples such as: http://www.dotnetprogramer.in/2016/01/how-to-send-whatsapp-message-through-csharp-net-application-by-using-csharp-coding.html Send messages with…
Aimal Khan
  • 1,009
  • 1
  • 12
  • 25
3
votes
0 answers

Using Chat API send message from PHP to WhatsApp got socket_write(): unable to write to socket [10053]

I want to send a message using from my PHP application to WhatsApp. So I used Chat API Interface to WhatsApp Messenger to send a message from PHP to WhatsApp. STEP 1: Getting WhatsApp verify code Using PHP: I used the below php script. I got my…
Sattanathan
  • 453
  • 9
  • 24
3
votes
0 answers

PHP Send Whatsapp Messages

Is there any way to send a WhatsApp message via php nowadays? There were a lot of PHP libraries before, but now they all no longer work or are forced to stop. For a small project I need to send small messages and a year ago it was possible with the…
Simolation
  • 64
  • 2
  • 4
3
votes
1 answer

How to know if the number is WhatsApp?

I'm using the WhatsApp.dll already and I'm able to receive and send messages using this dll. However, I need to know now if the number I'm sending the message to is a number that has installed WhatsApp. How do I know whether the receiving number has…
William
  • 294
  • 3
  • 16
3
votes
0 answers

Using Chat-API "the right way" to receive messages

I've been using Chat-API (https://github.com/WHAnonymous/Chat-API) since it was WhatsAPI, and yet I don't know for sure how to receive messages properly. Right now, I have a cron file that runs once every minute with this basic structure: $wa = new…
josemmo
  • 6,523
  • 3
  • 35
  • 49
2
votes
4 answers

Whatsapp webhook won't connect with ngrok

I made a controller in laravel for WhatsApp webhook authentication, run it locally and use ngrok to connect it with WhatsApp webhook, it won't connect, it said "The Callback url or verify token could not be validated", but when I deploy it on heroku…
Blue Moon
  • 31
  • 9
2
votes
2 answers

how to register whatsapp webhooks in nodejs

I'm trying to integrate whatsapp account with bot framework bot but I faced a problem in integrating my code is: const restify = require('restify'); // Create HTTP server let server = restify.createServer(); server.listen(process.env.port ||…
2
votes
0 answers

API Whatsapp - How to Implement Profile Picture

1° I created a Whatsapp Icon for an online shop. 2° I use whatsapp business. 3° I`m trying to implement a profile picture to be seen (as follows the link below). When someone clicks on the whatsapp icon (link), the link will open a new window and we…
TobitheDev
  • 93
  • 8
2
votes
1 answer

How to share audio as voice message via Whatsapp from web (Universal Link)?

I have some audio files (mp3) hosted in a server, and I'd like to add some web functionality to share them via WhatsApp as an audio message. I've been able to share texts succesfully with the following code: whatsapp://send?text="TEXT_TO_SHARE" but…
Xatpy
  • 273
  • 2
  • 13
1
2
3
12 13