Skip to content
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

Open
1 task done
Julie4ganesh opened this issue Nov 10, 2022 · 6 comments · May be fixed by #2816
Open
1 task done

Use phone number instead of scan qr code #1787

Julie4ganesh opened this issue Nov 10, 2022 · 6 comments · May be fixed by #2816
Labels
enhancement New feature or request

Comments

@Julie4ganesh
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

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

@Julie4ganesh Julie4ganesh added the enhancement New feature or request label Nov 10, 2022
@iFraan
Copy link

iFraan commented Nov 10, 2022

how would you login only with the number?
what would happen if you put another person's number?

@imaperson1060
Copy link

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.

@lfdelphino
Copy link

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.

@alvaro2203
Copy link

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?

@brunoloopes
Copy link

const client = new Client({
authStrategy: new LocalAuth({clientId:"NAME_SESSION"})
});

After synchronizing the qrcode session don't forget to assign the same name as the session(code).

@alechkos
Copy link
Collaborator

alechkos commented Aug 8, 2023

#2363

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants