-
Notifications
You must be signed in to change notification settings - Fork 87
Description
:
Since the latest Twitter/X policy updates, our automated login flow has stopped working.
The requests are now being blocked by Cloudflare protection, returning a 403 Forbidden response with the message:
"Sorry, you have been blocked. You are unable to access x.com."
This seems to be caused by Cloudflare's new challenge mechanism (JavaScript or CAPTCHA) which the current implementation does not handle.
Steps to Reproduce:
Run the login process using the existing API/script.
Observe that the response returns a 403 error.
Expected Behavior:
Login should work as before and retrieve a valid session.
Actual Behavior:
The request is blocked by Cloudflare, causing the login process to fail.
Handling Cloudflare challenge/JavaScript challenge automatically.
Optionally allowing cookies/session reuse from a browser login to bypass the block