Skip to content

tweet detail returns success with empty data for real tweet IDs #53

Description

@aaajiao

Summary

twitter tweet <id> --json can return a successful-looking payload with data: [] for real, public tweet IDs, which makes downstream tools think the read succeeded even though the focal tweet is missing.

Repro examples

These were observed on real public tweets today:

  • twitter tweet 2045507749421670723 --json
  • twitter tweet 1913215152430450707 --json
  • twitter tweet 1912668328745068863 --json

In our environment, the command returns JSON successfully, but the payload contains no focal tweet data (effectively empty thread data).

Expected

Either:

  1. the focal tweet is included in the parsed payload, or
  2. the command returns a clear non-zero error indicating TweetDetail parsing failed / returned incomplete data.

Actual

The command appears successful, but returns an empty/incomplete payload, so downstream readers can misinterpret it as a valid tweet read.

Suspected area

From local inspection, this looks related to TweetDetail GraphQL parsing and timeline-entry extraction for current conversation module / injection shapes.

Why this matters

A wrapper that trusts stdout success can show reply fragments or empty output as if it were a valid single-tweet read. We have now added a fail-safe on our side, but it would be much better if upstream exposed this as an explicit parsing failure.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions