KnugiHK / WhatsApp-Chat-Exporter

A customizable Android and iOS/iPadOS WhatsApp database parser that will give you the history of your WhatsApp conversations in HTML and JSON. Android Backup Crypt12, Crypt14, Crypt15, and new schema supported.
https://wts.knugi.dev/
MIT License
517 stars 76 forks source link

Can this work in Whatsapp Business ? #10

Open yapkahfung123 opened 2 years ago

yapkahfung123 commented 2 years ago

Can this work in Whatsapp Business ?

KnugiHK commented 2 years ago

I just quickly did a test on WhatsApp Business. It works except showing the media. I will do something to make the exporter fully support WhatsApp Business. image

yapkahfung123 commented 2 years ago

The problem is i can't extract my whatsapp business database by using WhatsApp-Key-DB-Extractor. It showing me Whatsapp not found

yapkahfung123 commented 2 years ago

image

KnugiHK commented 2 years ago

WhatsApp-Key-DB-Extractor only work with WhatsApp. However, you can change a bit the script to make it work for WhatsApp Business. From what I have observed, WhatsApp Business allow ADB backup (the method use by WhatsApp-Key-DB-Extractor).

yapkahfung123 commented 2 years ago

@KnugiHK Thanks for replying me. Is it this is the line that i want to edit for make it work for Whatsapp Business ?

image

KnugiHK commented 2 years ago

First, you need to change all "com.whatsapp" to "com.whatsapp.w4b". The latter one is package name of WhatsApp Business. Then, you will need to change the variable "apkfurl" to a WhatsApp Business APK (or you could replace an old version WhatsApp Business APK to "tmp/LegacyWhatsApp.apk").

KnugiHK commented 2 years ago

I have open the issues tab in WhatsApp-Key-DB-Extractor's repo. It would be appreciated if you could open an issue there if you still have any trouble about extracting key from WhatsApp Business.

yapkahfung123 commented 2 years ago

@KnugiHK Thanks alot.