trevorhobenshield / twitter-api-client

Implementation of X/Twitter v1, v2, and GraphQL APIs
https://pypi.org/project/twitter-api-client
MIT License
1.56k stars 207 forks source link

flow_token errors while logging in #205

Closed tarson96 closed 5 months ago

tarson96 commented 5 months ago

Hi, so i been using multiple accounts and proxies for logging in to the client, but after some while, flow_token errors start to come.

[error] failed to update token at flow_password [error] failed to update token at flow_username

and these just continues for like an hour, then it logins fine automatically after that.

Pls fine the below screenshot, thanks

Screenshot 2024-04-20 at 6 50 22 PM

trevorhobenshield commented 5 months ago

using multiple accounts and proxies

logging in with the same account through different IPs almost always triggers an Arkose challenge, which is what is causing those errors.

you'll need to keep trying different proxies until one of them doesn't trigger an Arkose challenge, or you'll have to copy cookies and use those instead.

tarson96 commented 5 months ago

any suggestions for proxies which i can use ? or for cookies ?