diff --git a/manifest.json b/manifest.json index 9a7908f5..f24c96a6 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "name": "Old Twitter Layout (2024)", "description": "__MSG_ext_description__", - "version": "1.8.9.4", + "version": "1.8.9.5", "manifest_version": 3, "homepage_url": "https://github.com/dimdenGD/OldTwitter", "background": { diff --git a/scripts/apis.js b/scripts/apis.js index d93c67d2..c4856653 100644 --- a/scripts/apis.js +++ b/scripts/apis.js @@ -2364,7 +2364,7 @@ const API = { return new Promise((resolve, reject) => { fetch(`https://api.${location.hostname}/1.1/users/lookup.json?user_id=${ids.join(",")}`, { headers: { - "authorization": OLDTWITTER_CONFIG.public_token, + "authorization": OLDTWITTER_CONFIG.oauth_key, "x-csrf-token": OLDTWITTER_CONFIG.csrf, "x-twitter-auth-type": "OAuth2Session", "content-type": "application/x-www-form-urlencoded; charset=UTF-8"