Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] Import tweets from twitter-archive.zip #1381

Closed
ynakao opened this issue Jan 24, 2023 · 4 comments
Closed

[feature] Import tweets from twitter-archive.zip #1381

ynakao opened this issue Jan 24, 2023 · 4 comments
Labels
enhancement New feature or request future tech Powerful technology to be added in the future.

Comments

@ynakao
Copy link

ynakao commented Jan 24, 2023

Is your feature request related to a problem ?

I want to migrate from Twitter to Fediverse completely, but at the same time I don't want to lose my twitter history.

Describe the solution you'd like.

Twitter lets users to download their twitter archive as twitter-archive.zip including tweets, uploaded media, account info, and so on. Please consider implementing tweet importing mechanism from the archive file to migrate from Twitter seamlessly.

Describe alternatives you've considered.

honk has this import feature, but it didn't work well at least on my local test as only a few tweets were imported. Also, honk is very barebone and opinionated (ex. no pagenation in frontend, no API support etc). And after all, I want to use GoToSocial! :)

There is a mirroring tool called pleroma-bot. It usually works as a daemon and syncs posts between Twitter and fediverse account, and has a feature importing tweets from the archive. I also tried this, but it didn't work well either as it does not support GoTosocial yet.

pleroma-bot may support GoToSocial fully in the future, however, since it posts tweets one by one using Mastodon API, it takes very long time to import all of them. So, it would be nice if GoToSocial could manage twitter-archive natively to speed up importing process.

Additional context.

It seems honk retains original tweet date, but pleroma-bot and other sync tools which use Mastodon API don't. As discussed in Mastodon repository (see also linked issues in the first comment), it may need to implement new API to import tweets as is.

Also, it needs to consider how to deal with retweets, replies, threads, and other unique features specific to Twitter when reflecting those tweets in GoToSocial side.

@ynakao ynakao added the enhancement New feature or request label Jan 24, 2023
@tsmethurst tsmethurst added the future tech Powerful technology to be added in the future. label Jan 24, 2023
@mirabilos
Copy link
Contributor

Do you want to backfill your account with old posts, or would it be sufficient to post all those anew? (RTs may be tricky or even unlawful, but reposting your own tweets and reconstructing threads might be possible.) For posting these anew, maybe someone could hack something external up that uses the normal client API to post (I already use a (hacked-up to support GtS better) python3-mastodon to bridge e.g. my CVS commit mails to Fedi).

Is that twitter-archive.zip still the thing with data/js/tweets/2014_09.js etc. in addition to a top-level tweets.csv? If so, I have one of these at hand and might have a look…

@ynakao
Copy link
Author

ynakao commented Jan 6, 2024

I really appreciate you take a look at this issue!

Do you want to backfill your account with old posts, or would it be sufficient to post all those anew?

I'd like to backfill tweets as old posts if possible, because posting them as new ones can be done by pleroma-bot and other tools.

Is that twitter-archive.zip still the thing with data/js/tweets/2014_09.js etc. in addition to a top-level tweets.csv?

I just looked into my old twitter archives which were downloaded in 2020, 2022, and 2023, but every archive doesn't have data/js directory and tweets.csv file. It seems twitter archives changed its internal structure at some point?

Since other twitter caveats like this might exist, however, I'm starting to think this feature request will become maintenance burden for GtS developers in the future...

@mirabilos
Copy link
Contributor

mirabilos commented Jan 6, 2024 via email

@tsmethurst
Copy link
Contributor

I'm gonna close this because I don't think importing twitter posts from an archive is something we're really interested in doing, and it brings a lot of technical headaches for not much payoff.

Can definitely understand wanting to host your old tweets somewhere, but it might be better to look around and see if there's some kind of static website generator that lets you create a mockup twitter feed on your website based on the contents of your archive.

@tsmethurst tsmethurst closed this as not planned Won't fix, can't repro, duplicate, stale Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request future tech Powerful technology to be added in the future.
Projects
None yet
Development

No branches or pull requests

3 participants