Parcourir la source

Use graphTweet for cookie sessions for now

Zed il y a 9 mois
Parent
commit
4b9aec6fde
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      src/api.nim

+ 2 - 1
src/api.nim

@@ -42,7 +42,8 @@ proc userTweetsAndRepliesUrl(id: string; cursor: string): ApiReq =
 proc tweetDetailUrl(id: string; cursor: string): ApiReq =
   let cookieVars = tweetDetailVars % [id, cursor]
   result = ApiReq(
-    cookie: apiUrl(graphTweetDetail, cookieVars, tweetDetailFieldToggles),
+    # cookie: apiUrl(graphTweetDetail, cookieVars, tweetDetailFieldToggles),
+    cookie: apiUrl(graphTweet, tweetVars % [id, cursor]),
     oauth: apiUrl(graphTweet, tweetVars % [id, cursor])
   )