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

Original timestamp of tweet not used while importing from Twitter archive #123

Open
nazimulhaque opened this issue Feb 7, 2023 · 2 comments
Labels
further info needed Further information is needed for assigning category

Comments

@nazimulhaque
Copy link

Hi, it's a very useful repository, no doubt.
What to do if I wish to record the original tweet timestamp in place of import time which is shown in Pleroma timeline while importing tweets from a Twitter archive?

@robertoszek
Copy link
Owner

robertoszek commented Feb 7, 2023

Hi!
Have you tried using original_date on your config already?
Something along the lines of this:

pleroma_base_url: https://pleroma.instance
users:
- twitter_username: User1
  pleroma_username: MyPleromaUser1
  pleroma_token: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  archive: /path/to/archive.zip
  original_date: true # <--

This will add the creation date of the original tweet to the body of the post on Pleroma:

New thing! Consume product!

 🐦🔗: https://nitter.net/someuser/status/1234

[2022-12-13 01:14]

Unfortunately neither Mastodon nor Pleroma support setting a date in the past when posting new statuses (mastodon/mastodon#12423), so this is the best we can do from our side.

If after setting original_date to true you're still encountering issues, let me know so we can investigate further.

@robertoszek robertoszek added the further info needed Further information is needed for assigning category label Feb 7, 2023
@nazimulhaque
Copy link
Author

I forgot to mention that I had obtained the same result following your mentioned method before I created this issue. But instead of displaying the time in the body of the Pleroma post, I need it to be treated as the time of posting in Pleroma.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
further info needed Further information is needed for assigning category
Projects
None yet
Development

No branches or pull requests

2 participants