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

[twitter] restore the text of truncated retweets #3430

Closed
wants to merge 6 commits into from

Conversation

ClosedPort22
Copy link
Contributor

@ClosedPort22 ClosedPort22 commented Dec 19, 2022

The text of retweets often gets truncated because Twitter prepends the original author's username to it:

RT @FireFox70456538: It's been a long time since I haven't shared any arts on Twitter...\nSo here I'm back with a nudity art I made of Ara,…
It's been a long time since I haven't shared any arts on Twitter...\nSo here I'm back with a nudity art I made of Ara, zona's of the well-known @Aralyre 😊

(taken from here, warning: kind of NSFW)

This PR solves the issue by prepending the "prefix" to the text of the original tweet. I tried using retweets=original instead, but that would change a lot of the other fields and break my existing archive database.

The legacy pagination method needs more testing because the corresponding API endpoints never seemed to return any retweets for me.

@mikf mikf closed this Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants