-
Notifications
You must be signed in to change notification settings - Fork 7.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Twitter route stopped working? (Username+password login) #17089
Comments
Searching for maintainers:
If all routes can not be found, the issue will be closed automatically. Please use |
and my ip is not blocked and i can sign in to my account with no problem |
The 403 error came from AccountDuplicationCheck, and it looks like LoginEnterPassword now returns tokens. I made some changes, and the login was successful. diff --git a/lib/routes/twitter/api/mobile-api/login.ts b/lib/routes/twitter/api/mobile-api/login.ts
index 1e4c4570f..7aceffb53 100644
--- a/lib/routes/twitter/api/mobile-api/login.ts
+++ b/lib/routes/twitter/api/mobile-api/login.ts
@@ -133,6 +133,11 @@ async function login({ username, password, authenticationSecret }) {
},
});
logger.debug('Twitter login 4 finished: LoginEnterPassword.');
+ for (const subtask of task3.data?.subtasks || []) {
+ if (subtask.open_account) {
+ return subtask.open_account;
+ }
+ } |
Routes
Full routes
Related documentation
normal rsshub docs
What is expected?
return elon musk twitter info
What is actually happening?
Error Message:
FetchError: [POST] "https://api.x.com/1.1/onboarding/task.json": 403 Forbidden
Route: /twitter/user/:id/:routeParams?
Deployment information
Self-hosted
Deployment information (for self-hosted)
No response
Additional info
This is not a duplicated issue
The text was updated successfully, but these errors were encountered: