Skip to content

quote tweet of muted account causes syntax error #103

@laszlovandenhoek

Description

@laszlovandenhoek

If you try to deserialize a tweet that is a quote tweet of an account that you have muted, then that fails because this is in the JSON:

"tweetInterstitial": {
  "__typename": "ContextualTweetInterstitial",
  "displayType": "EntireTweet",
  "text": {
    "rtl": false,
    "text": "This Post is from an account you muted.",
    "entities": []
  },
  "revealText": {
    "rtl": false,
    "text": "View",
    "entities": []
  }
}

...but EntireTweet is not a valid value for DisplayType (currently, it can only be "NonCompliant").

Example: I muted Elon, which causes problems with https://x.com/simonw/status/1625939168349286401.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions