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
518 stars 76 forks source link

[FEATURE] Possible to add emoji reaction information from messages? #77

Open tlcameron3 opened 6 months ago

tlcameron3 commented 6 months ago

Would it be possible to add information regarding the reactions on a message? This may require adding an extra attribute that includes every reaction done, and who reacted with it. This piece of information would be useful, I wonder why it was decided to leave it omitted from this project so far.

KnugiHK commented 6 months ago

I will look into it.

It's omitted because I rarely use reaction and it never comes to my mind when I develop this tool.

wef0rm commented 5 months ago

Emojis are for many a vital part of text communications these days, so thats pretty important imho. UTF-8 should support it out of the box.

KnugiHK commented 5 months ago

Emojis are for many a vital part of text communications these days, so thats pretty important imho. UTF-8 should support it out of the box.

Emojis in the message are supported at the beginning of this project. The missing peice is the emoji in reactions.

wef0rm commented 5 months ago

Aha, never mind me then. :)

KnugiHK commented 5 months ago

Aha, never mind me then. :)

If you ever find any bugs related to emojis, feel free to open another issue for that.

KnugiHK commented 4 months ago

Same implementation timeline with #69.

gabrielnogueiracsc commented 2 months ago

Any updates about this?

KnugiHK commented 2 months ago

Any updates about this?

We now know where to find the related data from the database. The next step will be to include it in the template.

Here comes the problem... I have no idea on how to display them. I am bad at frontend and UI/UX.

KnugiHK commented 2 months ago

Also, the #79 is still in the blocking state, and I don't have much time for development now.

gabrielnogueiracsc commented 2 months ago

Any updates about this?

We now know where to find the related data from the database. The next step will be to include it in the template.

Here comes the problem... I have no idea on how to display them. I am bad at frontend and UI/UX.

Any updates about this?

We now know where to find the related data from the database. The next step will be to include it in the template.

Here comes the problem... I have no idea on how to display them. I am bad at frontend and UI/UX.

I managed to solve this problem by creating an alternative script in node.js. I used your WhatsApp-Chat-Exporter to export the conversations in .json and from there I searched the database and cross-referenced the information.

It worked very well! But unfortunately I don't know how to do this in Python to add to the project.

gabrielnogueiracsc commented 2 months ago

Here an example from the format of .json i got:

"559105": { "from_me": false, "timestamp": 1712450860, "time": "00:47", "media": false, "key_id": "3A4AACJJKAE7500D7879", "meta": false, "data": "good morning!", "sender": "551154774544", "safe": false, "mime": null, "reply": "ALKE15BAF55LA3124C", "quoted_author": "551120054578", "quoted_data": "Hi Group, i'm a new user.", "caption": null, "thumb": null, "sticker": false, "reactions": [ { "id": "👍", "timestamp": 1712450910000, "senderId": "551120054578" } ] },

I also added the "quoted_author" information to the .json containing the number of the user who had the message mentioned. This helped me a lot to develop the logic of my project.