-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
The configuration set here is subject to change. By sending a GET request to https://twitter.com/
, the response body will contain a URL for main.*.js
, for example:
<link rel="preload" as="script" crossorigin="anonymous" href="https://abs.twimg.com/responsive-web/client-web/main.546c97da.js" />
<meta property="fb:app_id" content="2231777543" />
Upon inspecting the content of main.546c97da.js
, you'll find operation IDs, like this:
981755: e=>{
e.exports = {
queryId: "9LlZicVr2IBf4u2qW5n4-A",
operationName: "Followers",
operationType: "query",
metadata: {
featureSwitches: ["responsive_web_graphql_exclude_directive_enabled", "verified_phone_label_enabled", "responsive_web_home_pinned_timelines_enabled", ... ],
fieldToggles: ["withAuxiliaryUserLabels", "withArticleRichContentState"]
}
}
}
Parsing the JavaScript file allows you to extract the operation IDs.
Metadata
Metadata
Assignees
Labels
No labels