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 user timeline is not working #15149

Closed
1 task done
ghost opened this issue Apr 8, 2024 · 18 comments
Closed
1 task done

twitter user timeline is not working #15149

ghost opened this issue Apr 8, 2024 · 18 comments
Labels
RSS bug Something isn't working

Comments

@ghost
Copy link

ghost commented Apr 8, 2024

路由地址

/twitter/user/:id/:routeParams?

完整路由地址

/twitter/user/username

相关文档

https://docs.rsshub.app/zh/routes/social-media#list-timeline

预期是什么?

成功显示 twitter rss

实际发生了什么?

Cannot read properties of undefined (reading 'att')

部署

RSSHub 演示 (https://rsshub.app)

部署相关信息

No response

额外信息

会退到 c65475b 后正常

这不是重复的 issue

  • 我已经搜索了 现有 issue,以确保该错误尚未被报告。
@ghost ghost added the RSS bug Something isn't working label Apr 8, 2024

This comment has been minimized.

@github-actions github-actions bot closed this as completed Apr 8, 2024

This comment has been minimized.

@github-actions github-actions bot reopened this Apr 8, 2024
@github-actions github-actions bot closed this as completed Apr 8, 2024
@github-actions github-actions bot reopened this Apr 8, 2024
Copy link
Contributor

github-actions bot commented Apr 8, 2024

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 关键词,或者留下评论。我们会重新审核。

1 similar comment

This comment has been minimized.

@KenMercusLai
Copy link

experiencing the same issue with the latest version

@E1xP
Copy link

E1xP commented Apr 11, 2024

I am using docker to host Rsshub instance with twitter cookie (TWITTER_COOKIE). And about 8 timeline per 15min it working fine with the latest images.

@KenMercusLai
Copy link

I am using docker to host Rsshub instance with twitter cookie (TWITTER_COOKIE). And about 8 timeline per 15min it working fine with the latest images.

This leads me to think the issue may be because I use TWITTER_USERNAME and TWITTER_PASSWORD.

The docs recommend diff ways and the way of getting TWITTER_COOKIE seems to be missing
https://docs.rsshub.app/routes/social-media#twitter
https://docs.rsshub.app/deploy/config#twitter

@KenMercusLai
Copy link

just confirmed using TWITTER_COOKIE works fine.

the cookie can be found under the network tab of inspecting any twitter page after login

@ghost
Copy link
Author

ghost commented Apr 12, 2024

当 TWITTER_COOKIE 为空时,能否回退到早先版本?

@E1xP
Copy link

E1xP commented Apr 12, 2024

当 TWITTER_COOKIE 为空时,能否回退到早先版本?

实际上用户名和密码还能用,只是很容易触发风控;提供二步验证的那个好像有点问题

@ghost
Copy link
Author

ghost commented Apr 12, 2024

但早c65475b 一直能用,TWITTER_COOKIE大概一天就得换一次。

@E1xP
Copy link

E1xP commented Apr 14, 2024

但早c65475b 一直能用,TWITTER_COOKIE大概一天就得换一次。

我这有多节点均衡负载Proxy,cookie已经稳定挂了有一个星期了

@ghost
Copy link
Author

ghost commented Apr 15, 2024

但早c65475b 一直能用,TWITTER_COOKIE大概一天就得换一次。

我这有多节点均衡负载Proxy,cookie已经稳定挂了有一个星期了

请教一下大佬,节点均衡负载Proxy是如何搭建的?求指路

@E1xP
Copy link

E1xP commented Apr 15, 2024

但早c65475b 一直能用,TWITTER_COOKIE大概一天就得换一次。

我这有多节点均衡负载Proxy,cookie已经稳定挂了有一个星期了

请教一下大佬,节点均衡负载Proxy是如何搭建的?求指路

使用这个项目搭的
https://github.com/v2rayA/v2rayA

@Wini1680
Copy link

just confirmed using TWITTER_COOKIE works fine.

the cookie can be found under the network tab of inspecting any twitter page after login

Could you please show how to set cookie to env? Dose only need “auth_token” and “ct0”?

1 similar comment
@Wini1680
Copy link

just confirmed using TWITTER_COOKIE works fine.

the cookie can be found under the network tab of inspecting any twitter page after login

Could you please show how to set cookie to env? Dose only need “auth_token” and “ct0”?

@flameleaf
Copy link
Contributor

just confirmed using TWITTER_COOKIE works fine.
the cookie can be found under the network tab of inspecting any twitter page after login

Could you please show how to set cookie to env? Dose only need “auth_token” and “ct0”?

TWITTER_COOKIE='auth_token=your_auth_token; ct0=your_ct0' works fine for me

@KenMercusLai
Copy link

just confirmed using TWITTER_COOKIE works fine.
the cookie can be found under the network tab of inspecting any twitter page after login

Could you please show how to set cookie to env? Dose only need “auth_token” and “ct0”?

On Chrome, Inspect -> Network, refresh the page
image

I simply copied all of them

@TonyRL TonyRL closed this as completed May 1, 2024
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

5 participants