mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 14:49:32 +00:00
parent
f9b8e11665
commit
d8c1c98329
1 changed files with 4 additions and 1 deletions
|
|
@ -33,7 +33,10 @@ proc userTweetsUrl(id: string; cursor: string): ApiReq =
|
||||||
return apiReq(graphUserTweetsV2, restIdVars % [id, cursor, "20"], userTweetsFieldToggles)
|
return apiReq(graphUserTweetsV2, restIdVars % [id, cursor, "20"], userTweetsFieldToggles)
|
||||||
|
|
||||||
proc userTweetsAndRepliesUrl(id: string; cursor: string): ApiReq =
|
proc userTweetsAndRepliesUrl(id: string; cursor: string): ApiReq =
|
||||||
return apiReq(graphUserTweetsAndRepliesV2, restIdVars % [id, cursor, "20"], userTweetsFieldToggles, skipTid=true)
|
result = ApiReq(
|
||||||
|
cookie: apiUrl(graphUserTweetsAndReplies, userTweetsAndRepliesVars % [id, cursor], userTweetsFieldToggles),
|
||||||
|
oauth: apiUrl(graphUserTweetsAndRepliesV2, restIdVars % [id, cursor, "20"], userTweetsFieldToggles, skipTid=true)
|
||||||
|
)
|
||||||
|
|
||||||
proc tweetDetailUrl(id, cursor: string; mode = Relevance): ApiReq =
|
proc tweetDetailUrl(id, cursor: string; mode = Relevance): ApiReq =
|
||||||
return apiReq(graphTweet, tweetVars % [id, cursor, $mode])
|
return apiReq(graphTweet, tweetVars % [id, cursor, $mode])
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue