diff --git a/scripts/helpers.js b/scripts/helpers.js index 8093e0d..4e33ee1 100644 --- a/scripts/helpers.js +++ b/scripts/helpers.js @@ -57,11 +57,7 @@ async function callTwitterApi(method = 'GET', path, headers = {}, body) { body = new URLSearchParams(body).toString(); } if(!headers['Authorization']) { - if(path.includes("verify_credentials")) { - headers['Authorization'] = "Bearer AAAAAAAAAAAAAAAAAAAAAG5LOQEAAAAAbEKsIYYIhrfOQqm4H8u7xcahRkU%3Dz98HKmzbeXdKqBfUDmElcqYl0cmmKY9KdS2UoNIz3Phapgsowi"; - } else { - headers['Authorization'] = `Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA`; - } + headers['Authorization'] = `Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA`; } if(!headers['x-csrf-token']) { let csrf = document.cookie.match(/(?:^|;\s*)ct0=([0-9a-f]+)\s*(?:;|$)/);