Skip to content

fa0311/TwitterInternalAPIDocument

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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

Install requirements

git clone https://github.com/fa0311/TwitterInternalAPIDocument.git
cd TwitterInternalAPIDocument
pip install -r requirements.txt

Optional

git clone https://github.com/fa0311/TwitterFrontendFlow.git
python TwitterFrontendFlow/sample2.py

Fast development of modules using this document

Sample
API

Reference