marcomaroni-github / twitter-to-bluesky

Import all tweets exported from X/Twitter to a Bluesky account.
Other
474 stars 35 forks source link

Fix tweet sorting #79

Closed v0ctor closed 5 days ago

v0ctor commented 6 days ago

This PR sorts tweets by ID instead of date.

It is necessary to sort by ID to ensure that references are never broken.

For example, when importing threads, especially those created all at once from the web interface, the date of two consecutive tweets may be exactly the same.

marcomaroni-github commented 6 days ago

@v0ctor This change breaks the checking of MIN_DATE, MAX_DATE parameters, see the comment in the code.

v0ctor commented 5 days ago

Thanks for the feedback!

Both things work properly now with the latest commit (tested with SIMULATE=1).