Whatsapp-web.js: [Question] Is it possible to allow multiple connections to the same web whatsapp?

Created on 2 Jun 2020  路  2Comments  路  Source: pedroslopez/whatsapp-web.js

I'm trying to build an app that will use whatsapp-web.js to allow multiple people to connect and send messages through the app in the same WhatsApp account. Is it possible?

Most helpful comment

Unfortunately due to the way WhatsApp Web works, you're restricted to only one active session for a particular number. However, you could use this library to only have one session and provide a custom interface where multiple people connect.

This could be done either by exposing and API and/or making your own frontend. Your app would talk to the same whatsapp-web.js instance regardless of where it's called from or who it's called by.

All 2 comments

Unfortunately due to the way WhatsApp Web works, you're restricted to only one active session for a particular number. However, you could use this library to only have one session and provide a custom interface where multiple people connect.

This could be done either by exposing and API and/or making your own frontend. Your app would talk to the same whatsapp-web.js instance regardless of where it's called from or who it's called by.

This is exactly the answer I was looking for. Thanks :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

andersondeoliveiramachado picture andersondeoliveiramachado  路  7Comments

therevolt picture therevolt  路  4Comments

parthibd picture parthibd  路  4Comments

felipemm picture felipemm  路  5Comments

dedenhendrap picture dedenhendrap  路  8Comments