TwitterInternalAPIDocument icon indicating copy to clipboard operation
TwitterInternalAPIDocument copied to clipboard

Any idea how long each guest token is valid for?

Open abhranil26 opened this issue 1 year ago • 3 comments

I am using endpoints which can be viewed in incognito mode. I see each ip has a 95 request limit for a 13 minute window. But any idea how long a guest token remains valid before it starts giving 403? I am caching the guest token in order to minimize requests but in production ended up getting 403 errors after sometime. any idea @fa0311 ?

abhranil26 avatar Oct 14 '24 04:10 abhranil26

image

Perhaps you do, you may not last a day. It's 16:40 JST on October 14. (7:40 UTC)

fa0311 avatar Oct 14 '24 07:10 fa0311

I do not know how the official client behaves and renews the token when the token expires I need to investigate.

fa0311 avatar Oct 14 '24 07:10 fa0311

yeah, i tried researching a bit i dont think guest token remain valid for more than 30 mins, even perplexity says it might be 15 mins max.

abhranil26 avatar Oct 14 '24 07:10 abhranil26