1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-01-11 23:50:26 +01:00

add Favoriters and Retweeters paths

This commit is contained in:
Erika 2023-07-07 21:23:53 +01:00
parent 3dbdd17fbb
commit aa4a223c7c
6 changed files with 699 additions and 0 deletions

View file

@ -302,6 +302,66 @@
"responsive_web_enhance_cards_enabled": false
}
},
"Favoriters": {
"queryId": "rUyh8HWk8IXv_fvVKj3QjA",
"variables": {
"tweetId": "1349129669258448897",
"count": 20,
"includePromotedContent": true
},
"features": {
"rweb_lists_timeline_redesign_enabled": true,
"responsive_web_graphql_exclude_directive_enabled": true,
"verified_phone_label_enabled": false,
"creator_subscriptions_tweet_preview_api_enabled": true,
"responsive_web_graphql_timeline_navigation_enabled": true,
"responsive_web_graphql_skip_user_profile_image_extensions_enabled": false,
"tweetypie_unmention_optimization_enabled": true,
"responsive_web_edit_tweet_api_enabled": true,
"graphql_is_translatable_rweb_tweet_is_translatable_enabled": true,
"view_counts_everywhere_api_enabled": true,
"longform_notetweets_consumption_enabled": true,
"responsive_web_twitter_article_tweet_consumption_enabled": false,
"tweet_awards_web_tipping_enabled": false,
"freedom_of_speech_not_reach_fetch_enabled": true,
"standardized_nudges_misinfo": true,
"tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled": true,
"longform_notetweets_rich_text_read_enabled": true,
"longform_notetweets_inline_media_enabled": true,
"responsive_web_media_download_video_enabled": false,
"responsive_web_enhance_cards_enabled": false
}
},
"Retweeters": {
"queryId": "Gnw_Swm60cS-biSLn2OWNw",
"variables": {
"tweetId": "1349129669258448897",
"count": 20,
"includePromotedContent": true
},
"features": {
"rweb_lists_timeline_redesign_enabled": true,
"responsive_web_graphql_exclude_directive_enabled": true,
"verified_phone_label_enabled": false,
"creator_subscriptions_tweet_preview_api_enabled": true,
"responsive_web_graphql_timeline_navigation_enabled": true,
"responsive_web_graphql_skip_user_profile_image_extensions_enabled": false,
"tweetypie_unmention_optimization_enabled": true,
"responsive_web_edit_tweet_api_enabled": true,
"graphql_is_translatable_rweb_tweet_is_translatable_enabled": true,
"view_counts_everywhere_api_enabled": true,
"longform_notetweets_consumption_enabled": true,
"responsive_web_twitter_article_tweet_consumption_enabled": false,
"tweet_awards_web_tipping_enabled": false,
"freedom_of_speech_not_reach_fetch_enabled": true,
"standardized_nudges_misinfo": true,
"tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled": true,
"longform_notetweets_rich_text_read_enabled": true,
"longform_notetweets_inline_media_enabled": true,
"responsive_web_media_download_video_enabled": false,
"responsive_web_enhance_cards_enabled": false
}
},
"Followers": {
"queryId": "djdTXDIk2qhd4OStqlUFeQ",
"variables": {

View file

@ -18,6 +18,35 @@ paths:
tags:
- "tweet"
/graphql/{pathQueryId}/Favoriters:
get:
operationId: getTweetFavoriters
description: get tweet favoriters
responses:
"200":
description: Successful operation
content:
application/json:
schema:
$ref: "#/components/schemas/TweetFavoritersResponse"
tags:
- "tweet"
/graphql/{pathQueryId}/Retweeters:
get:
operationId: getTweetRetweeters
description: get tweet retweeters
responses:
"200":
description: Successful operation
content:
application/json:
schema:
$ref: "#/components/schemas/TweetRetweetersResponse"
tags:
- "tweet"
components:
schemas:
TweetDetailResponse:
@ -33,3 +62,31 @@ components:
properties:
threaded_conversation_with_injections_v2:
$ref: "./../schemas/timeline.yaml#/components/schemas/Timeline"
TweetFavoritersResponse:
required:
- "data"
properties:
data:
$ref: "#/components/schemas/TweetFavoritersResponseData"
TweetFavoritersResponseData:
required:
- "favoriters_timeline"
properties:
favoriters_timeline:
$ref: "./../schemas/timeline.yaml#/components/schemas/TimelineV2"
TweetRetweetersResponse:
required:
- "data"
properties:
data:
$ref: "#/components/schemas/TweetRetweetersResponseData"
TweetRetweetersResponseData:
required:
- "retweeters_timeline"
properties:
retweeters_timeline:
$ref: "./../schemas/timeline.yaml#/components/schemas/TimelineV2"