michabirklbauer / instagram_json_viewer

Transforms Instagram's *.json / backup data - that you get via the Data Download Tool - to a readable format!
https://michabirklbauer.github.io/instagram_json_viewer/
MIT License
49 stars 15 forks source link

Can't read message.json #11

Closed abindadna closed 3 years ago

abindadna commented 3 years ago

Hi, I can't read the message.json file from the latest update of Instagram. Is there any solution?

michabirklbauer commented 3 years ago

Hello,

so just to clarify - [1] your instagram zip-file contains the messages.json and it can't be read / or [2] it doesn't contain the file and the generated messages.json can't be read?

For [1] try the older version of the script which can be found here: https://github.com/t0xic-m/instagram_json_viewer/tree/v2020.12.07 For [2] I am still adapting and waiting to get my hands on the newer data, which should hopefully happen in the next week or so.

abindadna commented 3 years ago

Thank you for replying. I backed up on December 27, 2020. I got a new Instagram structure. There is no message.json in that folder. But when I run it with your python code, the message.json file appears. I think it's because of the structure update from Instagram. I hope to finish this issue soon. Thanks!

sariette commented 3 years ago

Hello,

The messages.json is generated.

The errors I get are:`

These issues have affected all conversations.

Thank you for your great support!

michabirklbauer commented 3 years ago

Hey,

I am aware of the problem, unfortunately I am currently having issues with instagram itself and don't have the data to reproduce this yet - their data download tool seems to be broken for me.

Once I have the data I will hopefully be able to resolve this soon.

Sorry for the inconvenience!

sariette commented 3 years ago

You did great on the messages part. It is now integrated in the results. But we cannot see the name of the sender! Thank you for your great work!

michabirklbauer commented 3 years ago

@sariette thanks for the feedback.

I got my own data today so I hopefully fixed everything so far, could you try with the script from this branch: https://github.com/t0xic-m/instagram_json_viewer/tree/v2020.12.23

Or the script directly from here: https://github.com/t0xic-m/instagram_json_viewer/raw/v2020.12.23/instaview.py

It should now work completely!