mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 15:40:26 +01:00
add UserTweetsAndReplies Likes
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
parent
aaa1100aed
commit
9052b3a16a
1 changed files with 269 additions and 3 deletions
|
|
@ -269,7 +269,6 @@ paths:
|
|||
$ref: "#/components/headers/x-twitter-response-tags"
|
||||
x-xss-protection:
|
||||
$ref: "#/components/headers/x-xss-protection"
|
||||
|
||||
tags:
|
||||
- "timeline"
|
||||
- "login-required"
|
||||
|
|
@ -332,7 +331,6 @@ paths:
|
|||
type: string
|
||||
default: "HuTx74BxAnezK1gWvYY7zg"
|
||||
example: "'HuTx74BxAnezK1gWvYY7zg'"
|
||||
|
||||
responses:
|
||||
"200":
|
||||
description: Successful operation
|
||||
|
|
@ -363,7 +361,276 @@ paths:
|
|||
$ref: "#/components/headers/x-twitter-response-tags"
|
||||
x-xss-protection:
|
||||
$ref: "#/components/headers/x-xss-protection"
|
||||
tags:
|
||||
- "user"
|
||||
- "graphql"
|
||||
|
||||
/RIWc55YCNyUJ-U3HHGYkdg/UserTweetsAndReplies:
|
||||
get:
|
||||
operationId: getUserTweetsAndReplies
|
||||
description: "get user replies tweets"
|
||||
parameters:
|
||||
- name: variables
|
||||
in: query
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
example: '''
|
||||
{
|
||||
"userId": "44196397",
|
||||
"count": 20,
|
||||
"includePromotedContent": false,
|
||||
"withClientEventToken": false,
|
||||
"withBirdwatchNotes": false,
|
||||
"withVoice": true,
|
||||
"withV2Timeline": true
|
||||
}
|
||||
'''
|
||||
- name: features
|
||||
in: query
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
example: '''
|
||||
{
|
||||
"blue_business_profile_image_shape_enabled": true,
|
||||
"responsive_web_graphql_exclude_directive_enabled": true,
|
||||
"verified_phone_label_enabled": false,
|
||||
"responsive_web_graphql_timeline_navigation_enabled": true,
|
||||
"responsive_web_graphql_skip_user_profile_image_extensions_enabled": false,
|
||||
"tweetypie_unmention_optimization_enabled": true,
|
||||
"vibe_api_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,
|
||||
"tweet_awards_web_tipping_enabled": false,
|
||||
"freedom_of_speech_not_reach_fetch_enabled": false,
|
||||
"standardized_nudges_misinfo": true,
|
||||
"tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled": false,
|
||||
"interactive_text_enabled": true,
|
||||
"responsive_web_text_conversations_enabled": false,
|
||||
"longform_notetweets_rich_text_read_enabled": true,
|
||||
"responsive_web_enhance_cards_enabled": false
|
||||
}
|
||||
'''
|
||||
- name: queryId
|
||||
in: query
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
default: "YqiE3JL1KNgf9nSljYdxaA"
|
||||
example: "'YqiE3JL1KNgf9nSljYdxaA'"
|
||||
responses:
|
||||
"200":
|
||||
description: Successful operation
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/UserTweetsResponse"
|
||||
headers:
|
||||
x-connection-hash:
|
||||
$ref: "#/components/headers/x-connection-hash"
|
||||
x-content-type-options:
|
||||
$ref: "#/components/headers/x-content-type-options"
|
||||
x-frame-options:
|
||||
$ref: "#/components/headers/x-frame-options"
|
||||
x-rate-limit-limit:
|
||||
$ref: "#/components/headers/x-rate-limit-limit"
|
||||
x-rate-limit-remaining:
|
||||
$ref: "#/components/headers/x-rate-limit-remaining"
|
||||
x-rate-limit-reset:
|
||||
$ref: "#/components/headers/x-rate-limit-reset"
|
||||
x-response-time:
|
||||
$ref: "#/components/headers/x-response-time"
|
||||
x-tfe-preserve-body:
|
||||
$ref: "#/components/headers/x-tfe-preserve-body"
|
||||
x-transaction-id:
|
||||
$ref: "#/components/headers/x-transaction-id"
|
||||
x-twitter-response-tags:
|
||||
$ref: "#/components/headers/x-twitter-response-tags"
|
||||
x-xss-protection:
|
||||
$ref: "#/components/headers/x-xss-protection"
|
||||
tags:
|
||||
- "user"
|
||||
- "graphql"
|
||||
|
||||
/YqiE3JL1KNgf9nSljYdxaA/UserMedia:
|
||||
get:
|
||||
operationId: getUserMedia
|
||||
description: "get user media tweets"
|
||||
parameters:
|
||||
- name: variables
|
||||
in: query
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
example: '''
|
||||
{
|
||||
"userId": "44196397",
|
||||
"count": 20,
|
||||
"includePromotedContent": false,
|
||||
"withClientEventToken": false,
|
||||
"withBirdwatchNotes": false,
|
||||
"withVoice": true,
|
||||
"withV2Timeline": true
|
||||
}
|
||||
'''
|
||||
- name: features
|
||||
in: query
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
example: '''
|
||||
{
|
||||
"blue_business_profile_image_shape_enabled": true,
|
||||
"responsive_web_graphql_exclude_directive_enabled": true,
|
||||
"verified_phone_label_enabled": false,
|
||||
"responsive_web_graphql_timeline_navigation_enabled": true,
|
||||
"responsive_web_graphql_skip_user_profile_image_extensions_enabled": false,
|
||||
"tweetypie_unmention_optimization_enabled": true,
|
||||
"vibe_api_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,
|
||||
"tweet_awards_web_tipping_enabled": false,
|
||||
"freedom_of_speech_not_reach_fetch_enabled": false,
|
||||
"standardized_nudges_misinfo": true,
|
||||
"tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled": false,
|
||||
"interactive_text_enabled": true,
|
||||
"responsive_web_text_conversations_enabled": false,
|
||||
"longform_notetweets_rich_text_read_enabled": true,
|
||||
"responsive_web_enhance_cards_enabled": false
|
||||
}
|
||||
'''
|
||||
- name: queryId
|
||||
in: query
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
default: "YqiE3JL1KNgf9nSljYdxaA"
|
||||
example: "'YqiE3JL1KNgf9nSljYdxaA'"
|
||||
responses:
|
||||
"200":
|
||||
description: Successful operation
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/UserTweetsResponse"
|
||||
headers:
|
||||
x-connection-hash:
|
||||
$ref: "#/components/headers/x-connection-hash"
|
||||
x-content-type-options:
|
||||
$ref: "#/components/headers/x-content-type-options"
|
||||
x-frame-options:
|
||||
$ref: "#/components/headers/x-frame-options"
|
||||
x-rate-limit-limit:
|
||||
$ref: "#/components/headers/x-rate-limit-limit"
|
||||
x-rate-limit-remaining:
|
||||
$ref: "#/components/headers/x-rate-limit-remaining"
|
||||
x-rate-limit-reset:
|
||||
$ref: "#/components/headers/x-rate-limit-reset"
|
||||
x-response-time:
|
||||
$ref: "#/components/headers/x-response-time"
|
||||
x-tfe-preserve-body:
|
||||
$ref: "#/components/headers/x-tfe-preserve-body"
|
||||
x-transaction-id:
|
||||
$ref: "#/components/headers/x-transaction-id"
|
||||
x-twitter-response-tags:
|
||||
$ref: "#/components/headers/x-twitter-response-tags"
|
||||
x-xss-protection:
|
||||
$ref: "#/components/headers/x-xss-protection"
|
||||
tags:
|
||||
- "user"
|
||||
- "graphql"
|
||||
|
||||
/5fmEkRT-1AdHqEsbVgehMg/Likes:
|
||||
get:
|
||||
operationId: getLikes
|
||||
description: "get user likes tweets"
|
||||
parameters:
|
||||
- name: variables
|
||||
in: query
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
example: '''
|
||||
{
|
||||
"userId": "44196397",
|
||||
"count": 20,
|
||||
"includePromotedContent": false,
|
||||
"withClientEventToken": false,
|
||||
"withBirdwatchNotes": false,
|
||||
"withVoice": true,
|
||||
"withV2Timeline": true
|
||||
}
|
||||
'''
|
||||
- name: features
|
||||
in: query
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
example: '''
|
||||
{
|
||||
"blue_business_profile_image_shape_enabled": true,
|
||||
"responsive_web_graphql_exclude_directive_enabled": true,
|
||||
"verified_phone_label_enabled": false,
|
||||
"responsive_web_graphql_timeline_navigation_enabled": true,
|
||||
"responsive_web_graphql_skip_user_profile_image_extensions_enabled": false,
|
||||
"tweetypie_unmention_optimization_enabled": true,
|
||||
"vibe_api_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,
|
||||
"tweet_awards_web_tipping_enabled": false,
|
||||
"freedom_of_speech_not_reach_fetch_enabled": false,
|
||||
"standardized_nudges_misinfo": true,
|
||||
"tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled": false,
|
||||
"interactive_text_enabled": true,
|
||||
"responsive_web_text_conversations_enabled": false,
|
||||
"longform_notetweets_rich_text_read_enabled": true,
|
||||
"responsive_web_enhance_cards_enabled": false
|
||||
}
|
||||
'''
|
||||
- name: queryId
|
||||
in: query
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
default: "YqiE3JL1KNgf9nSljYdxaA"
|
||||
example: "'YqiE3JL1KNgf9nSljYdxaA'"
|
||||
responses:
|
||||
"200":
|
||||
description: Successful operation
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/UserTweetsResponse"
|
||||
headers:
|
||||
x-connection-hash:
|
||||
$ref: "#/components/headers/x-connection-hash"
|
||||
x-content-type-options:
|
||||
$ref: "#/components/headers/x-content-type-options"
|
||||
x-frame-options:
|
||||
$ref: "#/components/headers/x-frame-options"
|
||||
x-rate-limit-limit:
|
||||
$ref: "#/components/headers/x-rate-limit-limit"
|
||||
x-rate-limit-remaining:
|
||||
$ref: "#/components/headers/x-rate-limit-remaining"
|
||||
x-rate-limit-reset:
|
||||
$ref: "#/components/headers/x-rate-limit-reset"
|
||||
x-response-time:
|
||||
$ref: "#/components/headers/x-response-time"
|
||||
x-tfe-preserve-body:
|
||||
$ref: "#/components/headers/x-tfe-preserve-body"
|
||||
x-transaction-id:
|
||||
$ref: "#/components/headers/x-transaction-id"
|
||||
x-twitter-response-tags:
|
||||
$ref: "#/components/headers/x-twitter-response-tags"
|
||||
x-xss-protection:
|
||||
$ref: "#/components/headers/x-xss-protection"
|
||||
tags:
|
||||
- "user"
|
||||
- "graphql"
|
||||
|
|
@ -437,7 +704,6 @@ paths:
|
|||
$ref: "#/components/headers/x-twitter-response-tags"
|
||||
x-xss-protection:
|
||||
$ref: "#/components/headers/x-xss-protection"
|
||||
|
||||
tags:
|
||||
- "user"
|
||||
- "graphql"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue