From 8ec49e54dffd7c16c2fea970f36930e1d09e4ba0 Mon Sep 17 00:00:00 2001 From: dimden <26517362+dimdenGD@users.noreply.github.com> Date: Fri, 22 Nov 2024 12:33:07 +0200 Subject: [PATCH] fix unfollowers --- manifest.json | 2 +- scripts/apis.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"