TwitterInternalAPIDocument

fa0311活跃维护

整理 Twitter 内部 GraphQL 接口的非官方文档,方便开发者查阅未公开的 API 端点与参数,用于数据抓取和逆向分析。

Twitter Internal API Document

v1.7发布于 2023-02-03 18:52 UTC725star +1 / 7 天64fork同步于 2026-11-10 05:59 UTC

怎么上手

从 README 代码块原样提取,可能是其中一种安装方式
uv run python generator.py
硬件要求

README 没有说明硬件要求。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

这个项目的说明还在生成中,先参考下面「最近发版」和 README。

最近发版

1 个版本v1.7
  1. v1.7Latest最新正式版2023-02-03 · 2023-02-03 18:52 UTC

    这个版本没有写更新说明。

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    Twitter Internal API Document

    Reverse engineering of the web version of Twitter.
    This repository is not complete. Limitations of Static Code Analysis.
    The documentation in the Develop branch is automatically updated to the latest version every day at 21:00 UTC.

    Stable branch / Develop branch / Logged in branch /Twitter Blue branch

    What is this?

    This is incomplete documentation of Twitter's internal API. This is the limit of static analysis, and it is very difficult to improve the system any further. This document is dedicated to automated analysis at the expense of accuracy.

    How does it work?

    Be the first to know about changes to Twitter's internal API. You can find out information about APIs under development that cannot be called from the UI. It also serves as a reverse engineering assistant.

    Do you have accurate documentation?

    yes.

    https://github.com/fa0311/twitter-openapi

    About the X-Client-Transaction-Id header?

    Unobfuscate ondemand.s every day at 22:00 UTC.

    https://github.com/fa0311/twitter-tid-deobf-fork

    Document

    GraphQL API

    Internal GraphQL API Document
    Twitter Internal GraphQL API Json
    Change Log

    v1.1 API

    Internal v1.1 Document
    Internal v1.1 Json

    Static Constants

    Static Constants Document
    Static Constants Json

    Internationalization

    Internationalization Json

    Script List

    Script List Json

    Initial State

    Initial State Json

    Meta Data

    Meta Data Json

    Reverse Engineering Note

    Note written by the developer.
    Reverse Engineering Document

    Run the generator

    uv run python generator.py
    

    Reference