twitter-api-client
twitter-api-client copied to clipboard
Session gets invalidated frequently last time
Hello,
Does someone experience the same phenomenon?
During last weeks, I get '32 - Could not authenticate you' errors frequently on various requests (liking, DM, search). I don't do anything that could be identified as abusive behavior (DM spamming, a lot of subsequent random likes, exceeding endpoint rate limits). Could this be due to missing request headers X-Client-UUID
and x-client-transaction-id
?
There's an explanation on generating the latter header: https://antibot.blog/twitter-header-part-3/
But the author claims that presence of this header doesn't affect the trustfulness of API requests. I don't know if it's still valid, that was in February 2024.
Maybe there's another reason for frequent session invalidations.