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

Login with phoneNumber#816

Open
Jean1dev wants to merge 25 commits intosalman0ansari:mainfrom
Jean1dev:main
Open

Login with phoneNumber#816
Jean1dev wants to merge 25 commits intosalman0ansari:mainfrom
Jean1dev:main

Conversation

@Jean1dev
Copy link
Copy Markdown

@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
Copy Markdown
Owner

salman0ansari commented Oct 9, 2023

thank you for contributing
I'll merge it after test

@diorgenesgrzesiuk
Copy link
Copy Markdown

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
Copy Markdown

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.

4 participants