Rhymen / go-whatsapp

WhatsApp Web API
MIT License
2.04k stars 491 forks source link

WhatsApp (beta) Multi Device, the phone doesn't need to be connected to the internet anymore #598

Open hrizal opened 2 years ago

hrizal commented 2 years ago

https://faq.whatsapp.com/general/download-and-installation/about-multi-device-beta/?lang=en

good news, but ...

beshoo commented 2 years ago

The biggest But in the history..... Will that mean, user can turn off the mobile?

Will that mean, we need to update the season method. It is great news, since your chatbot bot will stay connected regardless the mobile availability... Like telegram...

BUT.......

akbarfa49 commented 2 years ago

i tried the new web whatsapp beta . u can turn off the mobile, after connected to whatsapp the browser need to download some data first and lots of stuff changed like enckey, mackey is gone. now privkey, publickey.

ramacatur commented 2 years ago

i tried the new web whatsapp beta . u can turn off the mobile, after connected to whatsapp the browser need to download some data first and lots of stuff changed like enckey, mackey is gone. now privkey, publickey.

I've tried it too. For websocket change to wss://web.whatsapp.com/ws/chat. And all messages sent and received use binary messages.

Romerito007 commented 2 years ago

Eu tentei o novo beta do WhatsApp da web. vc pode desligar o celular, depois de conectado ao whatsapp o navegador precisa baixar alguns dados primeiro e muitas coisas mudaram como enckey, mackey sumiu. agora privkey, publickey.

Eu também tentei. Para websocket, mude para wss: //web.whatsapp.com/ws/chat. E todas as mensagens enviadas e recebidas usam mensagens binárias.

https://github.com/sigalor/whatsapp-web-multi-device-reveng

Romerito007 commented 2 years ago

Eu tentei o novo beta do WhatsApp da web. vc pode desligar o celular, depois de conectado ao whatsapp o navegador precisa baixar alguns dados primeiro e muitas coisas mudaram como enckey, mackey sumiu. agora privkey, publickey.

Eu também tentei. Para websocket, mude para wss: //web.whatsapp.com/ws/chat. E todas as mensagens enviadas e recebidas usam mensagens binárias.

https://github.com/sigalor/whatsapp-web-multi-device-reveng

https://discord.gg/DSjYvwMB

beshoo commented 2 years ago

@Romerito007 image

beshoo commented 2 years ago

I think it is my account ...

ramacatur commented 2 years ago

@Romerito007 image

Try this https://discord.gg/ED6NCzhaCE

leonetosoft commented 2 years ago

go-whatsapp @ramacatur will the library support it?

beshoo commented 2 years ago

I believe, but it needs a loooooooot of work.

Sessions changed All messages encrypted Json changes

The question, if we ask clients no to update his WhatsApp, will this library continue to work?

Honestly it is great update, but we need to refactoring everything.

Regard

On Wed, Jul 21, 2021, 11:02 PM Leonardo Neto @.***> wrote:

go-whatsapp @ramacatur https://github.com/ramacatur will the library support it?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Rhymen/go-whatsapp/issues/598#issuecomment-884461164, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDLT27MBI3UX3WOUWTJNZTTY4RUFANCNFSM5ASLEAWA .

leonetosoft commented 2 years ago

I also have this doubt @beshoo

leonetosoft commented 2 years ago

this lib any problem: https://github.com/adiwajshing/Baileys/issues/605

we're screwed people!

beshoo commented 2 years ago

Am not sure but i believe that the best is to use headless browser.... This way you are dealing with interface which is more easy than reverse engineering.

But chrome is a huge problem to the server... Oh my god.....

On Wed, Jul 21, 2021, 11:34 PM Leonardo Neto @.***> wrote:

this lib any problem: adiwajshing/Baileys#605 https://github.com/adiwajshing/Baileys/issues/605

we're screwed people!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Rhymen/go-whatsapp/issues/598#issuecomment-884481246, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDLT2YS4DW4A3JCYHAYMXDTY4VNNANCNFSM5ASLEAWA .

leonetosoft commented 2 years ago

@beshoo On your system you can choose to use headless or go-whatsapp mode? I'm going to have to start implementing this on mine too. Which headless lib would you recommend?

beshoo commented 2 years ago

Well, you needed to give it a try, search github.com

Am not sure how stable it is. But am sure it is more easy than the reverse engineering one. The problem with the headless is one thing. If whatsapp chose to change one line of css or html, your code will fucked up.

It is use css and javascript to control interface.

On Thu, Jul 22, 2021, 1:48 AM Leonardo Neto @.***> wrote:

@beshoo https://github.com/beshoo On your system you can choose to use headless or go-whatsapp mode? I'm going to have to start implementing this on mine too. Which headless lib would you recommend?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Rhymen/go-whatsapp/issues/598#issuecomment-884546597, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDLT26LHRRBMNCYABU6MBLTY5FEBANCNFSM5ASLEAWA .

leonetosoft commented 2 years ago

@beshoo I found this one too: https://github.com/orkestral/venom headless.

Do you use go-whatsapp professionally? will it harm you in any way?

beshoo commented 2 years ago

My service https://Momentreply.com based on go-whatsapp....

And yes i believe we are going to ask user to stay with current versions of whatsapp.

Till we figure out how to get things up and running.

On Thu, Jul 22, 2021, 2:10 AM Leonardo Neto @.***> wrote:

@beshoo https://github.com/beshoo I found this one too: https://github.com/orkestral/venom headless.

Do you use go-whatsapp professionally? will it harm you in any way?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Rhymen/go-whatsapp/issues/598#issuecomment-884555219, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDLT2ZSNQQHSSVPT3M7ECTTY5HXJANCNFSM5ASLEAWA .

leonetosoft commented 2 years ago

@beshoo Perfect very good!

I will do that too. And already porting the code to work headless.

beshoo commented 2 years ago

https://github.com/orkestral/venom This has a lot of bugs, be careful...

On Thu, Jul 22, 2021, 3:22 AM Leonardo Neto @.***> wrote:

@beshoo https://github.com/beshoo Perfect very good!

I will do that too. And already porting the code to work headless.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Rhymen/go-whatsapp/issues/598#issuecomment-884579918, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDLT275JFAGLLSSN56NRDLTY5QD3ANCNFSM5ASLEAWA .

Nelsonguiana commented 2 years ago

Yes, this version has a lot of bugs, @beshoo how can I talk to you? send me an email: marcosfalves25@gmail.com

leonetosoft commented 2 years ago

From what I noticed even the headless mode is struggling to make it work.

PurpShell commented 2 years ago

whatsapp-web.js is the best for headless right now because of the simple object-oriented approach.

https://github.com/pedroslopez/whatsapp-web.js

Auties00 commented 2 years ago

The biggest But in the history..... Will that mean, user can turn off the mobile?

Will that mean, we need to update the season method. It is great news, since your chatbot bot will stay connected regardless the mobile availability... Like telegram...

BUT.......

I mantain a similar libary, but for Java and Kotlin. I think I've got most of the changes figured out. When and if I'll make it, if you want I can help migrate this library as well

beshoo commented 2 years ago

The biggest But in the history..... Will that mean, user can turn off the mobile? Will that mean, we need to update the season method. It is great news, since your chatbot bot will stay connected regardless the mobile availability... Like telegram... BUT.......

I mantain a similar libary, but for Java and Kotlin. I think I've got most of the changes figured out. When and if I'll make it if you want I can help migrate this library as well

Yes please share it now if you can, a lot of users trying to know the howto, if you share it now, you will give us a big favor,

Romerito007 commented 2 years ago

The biggest But in the history..... Will that mean, user can turn off the mobile? Will that mean, we need to update the season method. It is great news, since your chatbot bot will stay connected regardless the mobile availability... Like telegram... BUT.......

I mantain a similar libary, but for Java and Kotlin. I think I've got most of the changes figured out. When and if I'll make it if you want I can help migrate this library as well

Yes please share it now if you can, a lot of users trying to know the howto, if you share it now, you will give us a big favor,

@pokearaujo https://github.com/pokearaujo/multidevice

DonovanDiamond commented 2 years ago

@Rhymen Have you seen this yet?

flavio-evocorp commented 2 years ago

Good Morning! Has anyone found any solution of what to do about whatsapp beta?

I know that a lot has changed, does anyone already know what the changes are for us to implement?

claudio-evocorp commented 2 years ago

Good Morning! Has anyone found any solution of what to do about whatsapp beta?

I know that a lot has changed, does anyone already know what the changes are for us to implement?

ramacatur commented 2 years ago

Good Morning! Has anyone found any solution of what to do about whatsapp beta?

I know that a lot has changed, does anyone already know what the changes are for us to implement?

You can see this repo

https://github.com/pokearaujo/multidevice

Sanyasims commented 2 years ago

I am trying to write in go by looking at the repository https://github.com/pokearaujo/multidevice . But everything is minified there. It would be nice to write an algorithm, as they did in the previous version of whatsapp. While I manage to install handshake with whatsapp, I get some keys and it is not clear what to do with them further.

Valdenirmezadri commented 2 years ago

today im starting a new repo for this, the pokearaujo uses a proto

Nelsonguiana commented 2 years ago

today im starting a new repo for this, the pokearaujo uses a proto

Which would be? could you indicate?

Valdenirmezadri commented 2 years ago

today im starting a new repo for this, the pokearaujo uses a proto

Which would be? could you indicate?

https://github.com/Valdenirmezadri/go-whatsapp-multi-device

Valdenirmezadri commented 2 years ago

image

now, it's keeping the connection, then generating qrcode, and then I'll upload the lib for anyone who wants to add functions to handle messages

beshoo commented 2 years ago

The allready handlers is not working? Thanks for the update....

On Thu, Sep 30, 2021, 10:12 PM Valdenir Luíz Mezadri Junior < @.***> wrote:

[image: image] https://user-images.githubusercontent.com/4634624/135515687-07822ed3-e064-432d-b994-999ac4744223.png

now, it's keeping the connection, then generating qrcode, and then I'll upload the lib for anyone who wants to add functions to handle messages

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Rhymen/go-whatsapp/issues/598#issuecomment-931592921, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDLT25LCC5WWJX5IMGL3DTUESZDHANCNFSM5ASLEAWA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Valdenirmezadri commented 2 years ago

The allready handlers is not working? Thanks for the update.... On Thu, Sep 30, 2021, 10:12 PM Valdenir Luíz Mezadri Junior < @.***> wrote: [image: image] https://user-images.githubusercontent.com/4634624/135515687-07822ed3-e064-432d-b994-999ac4744223.png now, it's keeping the connection, then generating qrcode, and then I'll upload the lib for anyone who wants to add functions to handle messages — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#598 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDLT25LCC5WWJX5IMGL3DTUESZDHANCNFSM5ASLEAWA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

not yet, i had health problems, i will probably go back to work next week

Romerito007 commented 2 years ago

@tulir is doing an amazing job on GO for (beta)MD whatsmeow @Auties00 in Java WhatsappWeb4j

danielspk commented 2 years ago

Baileys started to support multidevice.

Are there plans to add support to this library?

burstfreeze commented 2 years ago

Baileys started to support multidevice.

Are there plans to add support to this library?

Rhymen seemed to have dropped the project. Use https://github.com/tulir/whatsmeow from now. Really clean and is being maintained very well so far.