Skip to content
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 403 forbidden #16014

Open
K33k0 opened this issue Jun 27, 2024 · 1 comment
Open

Twitter 403 forbidden #16014

K33k0 opened this issue Jun 27, 2024 · 1 comment
Labels
RSS bug Something isn't working

Comments

@K33k0
Copy link
Contributor

K33k0 commented Jun 27, 2024

Routes

/twitter/media/:id/:routeParams?
/twitter/user/:id/:routeParams?

Full routes

/twitter/user/elonmusk
/twitter/media/elonmusk

Related documentation

https://docs.rsshub.app/deploy/config#twitter

What is expected?

To either pull the media, or the feed for the user.

What is actually happening?

Returning a 403 forbidden error

Deployment information

Self-hosted

Deployment information (for self-hosted)

OS: Linux, Docker Image: Latest

Additional info

This is the error I receive
: [GET] "https://x.com/i/api/graphql/k5XapwcSikNsEsILW5FvgA/UserByScreenName?features=%7B%22hidden_profile_likes_enabled%22%3Atrue%2C%22hidden_profile_subscriptions_enabled%22%3Atrue%2C%22responsive_web_graphql_exclude_directive_enabled%22%3Atrue%2C%22verified_phone_label_enabled%22%3Afalse%2C%22subscriptions_verification_info_is_identity_verified_enabled%22%3Atrue%2C%22subscriptions_verification_info_verified_since_enabled%22%3Atrue%2C%22highlights_tweets_tab_ui_enabled%22%3Atrue%2C%22responsive_web_twitter_article_notes_tab_enabled%22%3Atrue%2C%22creator_subscriptions_tweet_preview_api_enabled%22%3Atrue%2C%22responsive_web_graphql_skip_user_profile_image_extensions_enabled%22%3Afalse%2C%22responsive_web_graphql_timeline_navigation_enabled%22%3Atrue%7D&fieldToggles=%7B%22withAuxiliaryUserLabels%22%3Afalse%7D&variables=%7B%22screen_name%22%3A%22elonmusk%22%2C%22withSafetyModeUserFields%22%3Atrue%7D": 403 Forbidden

I have these related env variables configured.
``` yaml
TWITTER_COOKIE: 'auth_token=<redacted>; ct0=<redacted>'
TWITTER_USERNAME: [email protected]
TWITTER_PASSWORD: this@is@password


### This is not a duplicated issue

- [X] I have searched [existing issues](https://github.com/DIYgod/RSSHub/issues) to ensure this bug has not already been reported
@K33k0 K33k0 added the RSS bug Something isn't working label Jun 27, 2024
Copy link
Contributor

Searching for maintainers:

To maintainers: if you are not willing to be disturbed, list your username in scripts/workflow/test-issue/call-maintainer.js. In this way, your username will be wrapped in an inline code block when tagged so you will not be notified.

If all routes can not be found, the issue will be closed automatically. Please use NOROUTE for a route-irrelevant issue or leave a comment if it is a mistake.
如果所有路由都无法匹配,issue 将会被自动关闭。如果 issue 和路由无关,请使用 NOROUTE 关键词,或者留下评论。我们会重新审核。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RSS bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant