Due to the latest updates in the library, settings.json file isnt used.
If you use clientId as mobile number, that's fine. It's basically used for multiple sessions. It creates folders for each new session/client id you put in
Im looking delivery message (pending, Delivered, read) can u explaint about that function ?
Hi,
this is really interesting, i'm just learning node.js and stumble with your article using express.
Would you mind to shed some direction if I want to extend your API to use with multiple numbers?
Hi , i am new to nodesjs , i am trying to use your code but having some error
c:\nodejs\whatsapp\app.js:54
app.listen(PORT, () => console.log(๐ @ http://localhost:${PORT}));
^
ReferenceError: app is not defined at Object.<anonymous> (c:\nodejs\whatsapp\app.js:54:1) at Module._compile (node:internal/modules/cjs/loader:1103:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1155:10) at Module.load (node:internal/modules/cjs/loader:981:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) at node:internal/main/run_main_module:17:47
can you share your code to download? Thanks a lot
Amit Kumar
Thank you for writing the post. I was trying to setup an auto responder for multiple numbers. One of the comment I read was const client = new Client({ puppeteer: { headless: false }, clientId : 'example'
});
I believe, we can use clientId as mobile number. I was wondering if we need to fix session.json as well?