Skip to content
This repository has been archived by the owner on Nov 7, 2023. It is now read-only.

Login with phoneNumber #816

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

Login with phoneNumber #816

wants to merge 11 commits into from

Conversation

Jean1dev
Copy link

@Jean1dev Jean1dev commented Oct 9, 2023

In this PR a implemented 2 new features in Whatsapp Istance, now you can login with your mobile number and you can verify your whatsapp number with sms message

@salman0ansari
Copy link
Owner

salman0ansari commented Oct 9, 2023

thank you for contributing
I'll merge it after test

@diorgenesgrzesiuk
Copy link

In this PR a implemented 2 new features in Whatsapp Istance, now you can login with your mobile number and you can verify your whatsapp number with sms message

I tried to use your implementation but I couldn't... it doesn't connect... it says that the letter and number code is invalid...

@xadminx
Copy link

xadminx commented Oct 20, 2023

Return error {"level":50,"time":1697839215513,"pid":4092,"hostname":"DESKTOP","err":{"type":"TypeError","message":"Cannot read properties of undefined (reading 'phoneNumberCountryCode')","stack":"TypeError: Cannot read properties of undefined (reading 'phoneNumberCountryCode')\n at generateMobileNode (\var\dev\whatsapp-api-nodejs\node_modules\@WhiskeySockets\baileys\lib\Utils\validate-connection.js:63:60)\n at validateConnection (\var\dev\whatsapp-api-nodejs\node_modules\@WhiskeySockets\baileys\lib\Socket\socket.js:158:51)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async MobileSocketClient. (\var\dev\whatsapp-api-nodejs\node_modules\@WhiskeySockets\baileys\lib\Socket\socket.js:429:13)"},"msg":"error in validating connection"}
after request http://localhost:3333/instance/init

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants