Everything is done locally on target machine. Nothing is shared anywhere.
Requires node to be installed already.
- Open terminal/command prompt.
- run
cp .env.sample .env
. - OPTIONAL - Enter
WA_NOTIFICATION_ID
for the user/channel you wanna get notified at. yarn install
ornpm install
yarn start <PINCODE> <AGE> <SEC>
ornpm start <PINCODE> <AGE> <SEC>
- For first time user only:
- Scan the QR Code using whatsapp to login.
yarn start 124001 18 60
yarn start 124001 45
- PINCODE - 124001
- AGE - 18
- SEC - 60
Where can I get whatsapp user id
- To get id from contacts
Uncomment
waClient.getContacts(console.log);
in index.js - To get id from current chats
Uncomment
waClient.getChats(console.log);
in index.js