j-fbriere / squawker

An open-source privacy oriented Twitter/X client
MIT License
813 stars 16 forks source link

backup from 3.6.5 not working in 3.7.0 #196

Closed Teknoky100 closed 5 months ago

Teknoky100 commented 5 months ago

Checklist

Affected version

3.7.0

Steps to reproduce the bug

  1. install V3.6.5 and do a backup
  2. try to import it in V3.7.0
  3. doesn't import

Expected behavior

import all the subscriptions and saved posts

Actual behavior

doesn't import anything

Screenshots/Screen recordings

No response

Logs

No response

Affected Android/Custom ROM version

No response

Affected device model

No response

Additional information

the backup works with previous versions of squawker, I think it's 3.6.4 / 3.6.3 anyway I think it is the last version from 17.01.2024 (date of the backup that works) the backup made within 3.6.5 can be imported successfully in 3.6.5 but not in 3.7.0 and it doesn't even give me the check that data was imported successfully. I'm not a fan of the new account method since I think it makes it less privacy oriented app because you need a X account now while on the other versions you don't need any account to browse twitter.

j-fbriere commented 5 months ago

Without giving any personal info, can you show the structure of the file you are trying to import in version v3.7.0?

As for the new account method, using regular Twitter/X account, I'm not a fan also but unfortunately this is now enforced by the Twitter/X API since it is not possible to create guest accounts anymore.

rsssxd commented 5 months ago

Screenshot_20240210-112333

@j-fbriere

Teknoky100 commented 5 months ago

kinda hard to look into that wacky backup structure and remove my personal data, I'm gonna do that tho when I have the time and let you know

j-fbriere commented 5 months ago

You could view this "wacky backup structure" with a Json File Viewer app. You could install one from Play store in your device. I just installed Json File Viewer Reader Editor on my device and selected a Squawker exported file, took a screen shot and it looks like this (there is no personal info at the first level of the Json tree): Screenshot_20240210_113905_JSONViewer Could you show me how your file looks at the first level of your Json file?

Teknoky100 commented 5 months ago

Oh, thanks, this is the structure of the json I can't import in V3.7.0 or V3.7.1 now. Screenshot_2024-02-10-18-47-11-35_ededfe498a3932efa3ce0c1f2852e6e0.jpg

@j-fbriere

Teknoky100 commented 5 months ago

looks like mine has guest account instead of twitter token so this might be an issue in not loading the backup correctly

j-fbriere commented 5 months ago

The version v3.7.2 fixes this issue.

Teknoky100 commented 5 months ago

yes 👍 :))