whatsapp-node-api icon indicating copy to clipboard operation
whatsapp-node-api copied to clipboard

A Simple NodeJS API Wrapper for WhatsApp

Results 30 whatsapp-node-api issues
Sort by recently updated
recently updated
newest added

Cannot read properties of undefined (reading 'newTag')

I try to node api.js and run in terminal,then I access ip:5000/auth/getqr ,Qr in that url doesn't work,and every time I refresh,the token in components/last.qr doesn't change this is the...

WhatsApp iOS version - 2.22.6.74 can't scan QR code, think the problem is WhatsApp update.

succes massage but,not sent to whatsapp

I'm having problems sending a link via message using this api Example, http://google.com It is sent as text and not as url link Is there any way to send links...

How to resolve this issue GET : /auth/closeClient/623d7dbe003b3e0c0c76be59 ProtocolError: Protocol error (Runtime.callFunctionOn): Target closed. at /var/www/html/WhatsappCode/node_modules/puppeteer/lib/cjs/puppeteer/common/Connection.js:230:24 at new Promise () at CDPSession.send (/var/www/html/WhatsappCode/node_modules/puppeteer/lib/cjs/puppeteer/common/Connection.js:226:16) at ExecutionContext._evaluateInternal (/var/www/html/WhatsappCode/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:204:50) at ExecutionContext.evaluateHandle (/var/www/html/WhatsappCode/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:155:21) at...

I just try to authenticate my whats on api, but only first QR was sent to interface, how can i send the second?

puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:217 throw new Error('Evaluation failed: ' + helper_js_1.helper.getExceptionMessage(exceptionDetails)); ^ Error: Evaluation failed: TypeError: Cannot read property 'serialize' of undefined at __puppeteer_evaluation_script__:2:38 at ExecutionContext._evaluateInternal (C:\Users\Administrator\Downloads\Whatsapp_API\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:217:19) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async ExecutionContext.evaluate...

lastqr/6113last.qr generated events.js:174 throw er; // Unhandled 'error' event ^ Error: socket hang up at createHangUpError (_http_client.js:332:15) at Socket.socketOnEnd (_http_client.js:435:23) at Socket.emit (events.js:203:15) at endReadableNT (_stream_readable.js:1145:12) at process._tickCallback (internal/process/next_tick.js:63:19) Emitted...