Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
0 answers
20 views

The login event is not getting triggered after scanning the qr code. Can see the heartbeat only. What's wrong am I doing?

require("dotenv").config(); const { WechatyBuilder, ScanStatus, log } = require("wechaty"); const qrCodeTerminal = require("qrcode-terminal"); const { PuppetWhatsapp } = ...
Debojyoti's user avatar
  • 4,731
2 votes
2 answers
6k views

Whatsapp-web.js package failing when scanning the QR code

client = new Client({ authStrategy: new LocalAuth({ clientId: phoneNo, dataPath: sessionsPath, }), webVersionCache: { ...
Abdelaziz El-emary's user avatar
0 votes
0 answers
35 views

Why does my link preview's thumbnail show correctly when one person share it, but not when others share it?

I'm working on a video streaming application where I generate link previews using Open Graph meta tags. When a person in my team share the link in Whatsapp, the thumbnail appears correctly, but when ...
Ankit Singh's user avatar
0 votes
1 answer
78 views

Error 404 when sending WhatsApp template message with variable in Node.js

I'm trying to send a WhatsApp template message using the flow API as described in this guide. The template sends correctly when there's no variable in the body, but fails with a 404 error when I ...
Omar Jabban's user avatar
0 votes
1 answer
232 views

Develop and integrate whatsapp into my website

I’m developing a custom crm in react and nodejs. I need to integrate a box in which the user/operator can message through whatsapp to the customers. I read that I can’t use the iframe cause there are ...
travis_91's user avatar
  • 173
0 votes
0 answers
31 views

How do I fix puppeteer sending message duplicated?

So, I made a whatsapp message sender in nodejs using puppeteer to connect to wpp and electron to get the message and number inputs, but I have three main problems: It doesnt send the message after ...
João's user avatar
  • 3
0 votes
0 answers
22 views

How to use WhastsApp API to send messages to my user's customers?

I'm developing an app for sending WhatsApp notifications. Can users of my app send automated notifications to their customers through WhatsApp? Here (https://developers.facebook.com/docs/whatsapp/...
Gustavo Magnago's user avatar
1 vote
1 answer
551 views

whatsapp-web.js not sending video (nothing happens )

I am struggling with the sendMessage method of whatsapp web js. Here is my test code: import pkg from 'whatsapp-web.js'; const { Client, LocalAuth, MessageMedia } = pkg; import qrcode, { error } from '...
Abdel's user avatar
  • 11
0 votes
2 answers
2k views

whatsapp-web.js Cannot read properties of undefined (reading 'default')

So I follow along the getting started guide to use whatsapp-web.js Link To Guide const { Client } = require('whatsapp-web.js'); const qrcode = require('qrcode-terminal'); const client = new Client(); ...
Amir's user avatar
  • 348
0 votes
0 answers
40 views

web whatsapp sending message from socket

I ask this question because I didn't know how to ask question on this post : Web WhatsApp Web Socket Post Message exampleSocket.send(new Blob(["your message datas"])); I've tried this code ...
Gumgum's user avatar
  • 23
0 votes
1 answer
502 views

whatsapp-web.js setup: npm WARN deprecated [email protected]: < 21.8.0 is no longer supported

I have been working with whatsapp-web.js for a while. It's suddenly stopped and when I tried to re-install it I got these errors: [![enter image description here][1]][1] npm install whatsapp-web.js ...
lady's user avatar
  • 376
1 vote
0 answers
275 views

Error fetching version 2.2346.52 from remote FetchError

Error fetching version 2.2346.52 from remote FetchError: request to https://raw.githubusercontent.com/wppconnect-team/wa-version/main/html/2.2412.54.html failed, reason: getaddrinfo ENOTFOUND raw....
Godwin Tobi's user avatar
1 vote
1 answer
4k views

Npm package whatsapp-web.js broke

I have been working with whatsapp-wb.js for a while. Recently the package is not working anymore. Firstly, when I try their latest package i.e. "whatsapp-web.js": "^1.23.0", even ...
Ahmed Naeem's user avatar
3 votes
1 answer
6k views

Error after scanning qr code for whatsapp-web.js [closed]

My whatsappweb bot started having problems this week. C:\pinkmeupwabot\node_modules\whatsapp-web.js\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:221 throw new Error('...
Anderson Paixão's user avatar
8 votes
12 answers
14k views

whatsapp-web.js, How can I fix TypeError: Cannot read properties of null (reading '1')

const version = indexHtml.match(/manifest-([\d.]+).json/)[1]; ^ TypeError: Cannot read properties of null (reading '1') at LocalWebCache.persist (/Users/abc/Desktop/haba/node_modules/whatsapp-web.js/...
Godwin Tobi's user avatar

15 30 50 per page
1
2 3 4 5
12