Skip to content

best way to save what you love

changed twitter bearer token to avoid rate limits

wukko94b527afe123
diff --git a/src/modules/services/twitter.js b/src/modules/services/twitter.js
index a0a9741b..89bf4e90 100644
--- a/src/modules/services/twitter.js
+++ b/src/modules/services/twitter.js
@@ -1,10 +1,12 @@
import got from "got";
import loc from "../../localization/manager.js";
+import { genericUserAgent } from "../config.js";
export default async function(obj) {
try {
let _headers = {
- "Authorization": "Bearer AAAAAAAAAAAAAAAAAAAAAIK1zgAAAAAA2tUWuhGZ2JceoId5GwYWU5GspY4%3DUq7gzFoCZs1QfwGoVdvSac3IniczZEYXIcDyumCauIXpcAPorE",
+ "User-Agent": genericUserAgent,
+ "Authorization": "Bearer AAAAAAAAAAAAAAAAAAAAAPYXBAAAAAAACLXUNDekMxqa8h%2F40K4moUkGsoc%3DTYfbDKbT3jJPCEVnMYqilB28NHfOPqkca3qaAxGfsyKCs0wRbw",
"Host": "api.twitter.com",
"Content-Type": "application/json",
"Content-Length": 0