Skip to content

Instantly share code, notes, and snippets.

@cmj
Created December 29, 2025 19:07
Show Gist options
  • Select an option

  • Save cmj/6e3e2a4df8f918974281904b8c901806 to your computer and use it in GitHub Desktop.

Select an option

Save cmj/6e3e2a4df8f918974281904b8c901806 to your computer and use it in GitHub Desktop.
curl -sv 'https://api.x.com/graphql/Y86LQY7KMvxn5tu3hFTyPg/UserWithProfileTweetsAndRepliesQueryV2?variables=%7B%22includeTweetImpression%22%3Atrue%2C%22includeHasBirdwatchNotes%22%3Afalse%2C%22includeEditPerspective%22%3Afalse%2C%22includeEditControl%22%3Atrue%2C%22count%22%3A40%2C%22rest_id%22%3A%22783214%22%2C%22includeTweetVisibilityNudge%22%3Atrue%2C%22autoplay_enabled%22%3Atrue%7D&features=%7B%22longform_notetweets_inline_media_enabled%22%3Atrue%2C%22super_follow_badge_privacy_enabled%22%3Atrue%2C%22longform_notetweets_rich_text_read_enabled%22%3Atrue%2C%22super_follow_user_api_enabled%22%3Atrue%2C%22unified_cards_ad_metadata_container_dynamic_card_content_query_enabled%22%3Atrue%2C%22super_follow_tweet_api_enabled%22%3Atrue%2C%22articles_api_enabled%22%3Afalse%2C%22android_graphql_skip_api_media_color_palette%22%3Atrue%2C%22creator_subscriptions_tweet_preview_api_enabled%22%3Atrue%2C%22freedom_of_speech_not_reach_fetch_enabled%22%3Atrue%2C%22tweetypie_unmention_optimization_enabled%22%3Atrue%2C%22longform_notetweets_consumption_enabled%22%3Atrue%2C%22subscriptions_verification_info_enabled%22%3Atrue%2C%22blue_business_profile_image_shape_enabled%22%3Atrue%2C%22tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled%22%3Atrue%2C%22immersive_video_status_linkable_timestamps%22%3Afalse%2C%22super_follow_exclusive_tweet_notifications_enabled%22%3Atrue%7D' \
--compressed \
-H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:145.0) Gecko/20100101 Firefox/145.0' \
-H 'Accept: /' \
-H 'Accept-Language: en-US,en-GB;q=0.5' \
-H 'Accept-Encoding: gzip, deflate, br, zstd' \
-H 'Referer: https://x.com/search?q=fish&src=typed_query&f=live' \
-H 'content-type: application/json' \
-H 'x-twitter-auth-type: OAuth2Session' \
-H 'x-csrf-token: 601370403f8ee440edb6fff396bd7cccfd909dac3a31865fcf8d32705e85191474c8e592b603624535fbd43a51dcaa583a5be4eef00592751397ae1bee05b74400f276e33216acda1929f3c0a4120fae' \
-H 'x-twitter-client-language: en' \
-H 'x-twitter-active-user: yes' \
-H 'DNT: 1' \
-H 'Sec-GPC: 1' \
-H 'Sec-Fetch-Dest: empty' \
-H 'Sec-Fetch-Mode: cors' \
-H 'Sec-Fetch-Site: same-origin' \
-H 'authorization: Bearer AAAAAAAAAAAAAAAAAAAAAIWCCAAAAAAA2C25AxqI%2BYCS7pdfJKRH8Xh19zA%3D8vpDZzPHaEJhd20MKVWp3UR38YoPpuTX7UD2cVYo3YNikubuxd' \
-H 'Connection: keep-alive' \
-H 'Cookie: ct0=601370403f8ee440edb6fff396bd7cccfd909dac3a31865fcf8d32705e85191474c8e592b603624535fbd43a51dcaa583a5be4eef00592751397ae1bee05b74400f276e33216acda1929f3c0a4120fae; auth_token=eeff9f94e4175a65111aecad8f725d71d777dbb8' \
-H 'Pragma: no-cache' \
-H 'Cache-Control: no-cache' \
-H 'TE: trailers'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment