WhatsApp Web server documentation #732
-
Hi everyone, I'm in the process of developing a basic WhatsApp Web server which could replace a real WhatsApp Web server, with restricted features. Do you have/know any resource which could help me understand the routes and protocols used by WhatsApp Web? I haven't found anything, which is to be expected because unofficial clients aren't supported by WhatsApp. The scope of the "mock" server is:
Thank you for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Tried the same, but because of the complexity I switched to a simpler approach and started mocking the whatsmeow interface. Not the same level of integration but works fine for me until now. |
Beta Was this translation helpful? Give feedback.
-
Well, WhatsApp's server doesn't do much other than just acting as a signalling server between two clients. All the Signal protocol stuff is mostly handled at the client side. Yes you might need to look into noise protocol for the initial transport, you can use the Binary encoder & decoder from whatsmeow. After that, most of the stuff would be reading the binary nodes and transferring the content to the correct jid |
Beta Was this translation helpful? Give feedback.
Well, WhatsApp's server doesn't do much other than just acting as a signalling server between two clients. All the Signal protocol stuff is mostly handled at the client side. Yes you might need to look into noise protocol for the initial transport, you can use the Binary encoder & decoder from whatsmeow. After that, most of the stuff would be reading the binary nodes and transferring the content to the correct jid