Is there any API, or method to get whatsapp Chat messages inside your app [closed]

烈酒焚心 提交于 2020-01-02 07:05:49

问题


Is there any API provided by whatsapp, that lets other apps to extract chat messages from official whatsapp app, just like google/facebook does.

Is there any method which can export the chat messages of users. I read about some methods which requires decrypting database file created by whatsapp, is that the only way?


回答1:


there is no way provided by Whatsapp. Only backups are encrypted, if you access to /data/data/com.whatsapp/databases/msgstore.db in your devices it is just a SQLite database that you may access directly via Android Java application or push it out the device and access to it via any other language on a computer.

You must root your device to get to the file, but there is no need to decrypt the database if you want to avoid that particular issue, taking the real database instead of a backup file.

Regards,



来源:https://stackoverflow.com/questions/23535933/is-there-any-api-or-method-to-get-whatsapp-chat-messages-inside-your-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!