Use old timeline endpoint

This commit is contained in:
Zed
2023-07-21 18:56:39 +02:00
parent f881226b22
commit cc5841df30
6 changed files with 53 additions and 15 deletions

View File

@@ -11,6 +11,8 @@ const
userSearch* = api / "1.1/users/search.json"
tweetSearch* = api / "1.1/search/tweets.json"
oldUserTweets* = api / "2/timeline/profile"
graphql = api / "graphql"
graphUser* = graphql / "u7wQyGi6oExe8_TRWGMq4Q/UserResultByScreenNameQuery"
graphUserById* = graphql / "oPppcargziU1uDQHAUmH-A/UserResultByIdQuery"
@@ -98,6 +100,18 @@ const
"includeHasBirdwatchNotes": false
}"""
oldUserTweetsVariables* = """{
"userId": "$1", $2
"count": 20,
"includePromotedContent": false,
"withDownvotePerspective": false,
"withReactionsMetadata": false,
"withReactionsPerspective": false,
"withVoice": false,
"withV2Timeline": true
}
"""
userTweetsVariables* = """{
"rest_id": "$1", $2
"count": 20