misc-scripts icon indicating copy to clipboard operation
misc-scripts copied to clipboard

Twitter retweets cannot be retrieved past ~10 days old

Open CetaceanNation opened this issue 1 year ago • 0 comments

This issue is purely to solicit a possible solution or workaround for retrieving retweets from a specific user account within a given date range. At some point in the past this might have been possible with advanced search queries, but it currently does not work outside a range of 7-10 days from the present.

A viable solution should:

  • Return tweets that include or are exclusively retweets ("rawContent": "RT @...)
  • Allow for tweets to be returned in a paged format (date range, id range)
  • Return only retweets for a specified username/user id

If this is possible through an undocumented API or otherwise requires functionality outside that available from twscrape, a pull request would be appreciated (either here or there). The potential for needing jank here is real though so more likely to make a custom feature of my wrapper script.

CetaceanNation avatar Feb 21 '24 06:02 CetaceanNation