-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use phone number instead of scan qr code #1787
Comments
how would you login only with the number? |
You can't. It's as simple as that. This just runs WhatsApp Web headless, so it can only use a QR code to log in. |
You can save the session for each number after reading the QR-Code for the first time, then write a code that uses the session for the number that you specify. |
Do you know how to save it? |
const client = new Client({ After synchronizing the qrcode session don't forget to assign the same name as the session(code). |
Is there an existing issue for this?
Is your feature request related to a problem? Please describe.
every time I scanned the Qr code and use the bot... But this is sometimes not correctly working.
Describe the solution you'd like.
Once I give the phone number manually, the bot will assign the phone number without scan the qr code
Describe an alternate solution.
Once give the phone number manually/ dynamically, the bot will assign the phone number without scan the qr code
Additional context
No response
The text was updated successfully, but these errors were encountered: