Skip to content

Commit

Permalink
update retweets
Browse files Browse the repository at this point in the history
  • Loading branch information
dimdenGD committed Aug 5, 2024
1 parent 3d3f913 commit 4905f69
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Old Twitter Layout (2024)",
"description": "__MSG_ext_description__",
"version": "1.8.7.2",
"version": "1.8.7.3",
"manifest_version": 3,
"homepage_url": "https://github.com/dimdenGD/OldTwitter",
"background": {
Expand Down
3 changes: 2 additions & 1 deletion scripts/apis.js
Original file line number Diff line number Diff line change
Expand Up @@ -2734,7 +2734,8 @@ const API = {
"authorization": OLDTWITTER_CONFIG.public_token,
"x-csrf-token": OLDTWITTER_CONFIG.csrf,
"x-twitter-auth-type": "OAuth2Session",
"content-type": "application/json; charset=utf-8"
"content-type": "application/json",
"x-twitter-client-language": LANGUAGE ? LANGUAGE : navigator.language ? navigator.language : "en"
},
credentials: "include",
body: JSON.stringify({"variables":{"tweet_id":id,"dark_request":false},"queryId":"ojPdsZsimiJrUGLR1sjUtA"})
Expand Down

0 comments on commit 4905f69

Please sign in to comment.