Skip to content

Commit 4b9aec6

Browse files
committed
Use graphTweet for cookie sessions for now
1 parent 064ec88 commit 4b9aec6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/api.nim

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ proc userTweetsAndRepliesUrl(id: string; cursor: string): ApiReq =
4242
proc tweetDetailUrl(id: string; cursor: string): ApiReq =
4343
let cookieVars = tweetDetailVars % [id, cursor]
4444
result = ApiReq(
45-
cookie: apiUrl(graphTweetDetail, cookieVars, tweetDetailFieldToggles),
45+
# cookie: apiUrl(graphTweetDetail, cookieVars, tweetDetailFieldToggles),
46+
cookie: apiUrl(graphTweet, tweetVars % [id, cursor]),
4647
oauth: apiUrl(graphTweet, tweetVars % [id, cursor])
4748
)
4849

0 commit comments

Comments
 (0)