set GUEST_TOKEN_MAX_AGE to 10 minutes

This commit is contained in:
dangered wolf 2022-08-18 16:49:20 -04:00
parent 897ba47ca2
commit 397f5eeb0e
No known key found for this signature in database
GPG key ID: 41E4D37680ED8B58

View file

@ -18,7 +18,7 @@ export const Constants = {
API_DOCS_URL: `https://github.com/dangeredwolf/FixTweet/wiki/API-Home`,
TWITTER_ROOT: 'https://twitter.com',
TWITTER_API_ROOT: 'https://api.twitter.com',
GUEST_TOKEN_MAX_AGE: 300, /* 5 minutes */
GUEST_TOKEN_MAX_AGE: 600, /* 10 minutes */
/* We used to use Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
but accounts marked as 18+ wouldn't show up then */
GUEST_BEARER_TOKEN: `Bearer AAAAAAAAAAAAAAAAAAAAAPYXBAAAAAAACLXUNDekMxqa8h%2F40K4moUkGsoc%3DTYfbDKbT3jJPCEVnMYqilB28NHfOPqkca3qaAxGfsyKCs0wRbw`,