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

getTweets withReply false 无分页 #7

Open
irisroyaltyf opened this issue Jul 30, 2023 · 6 comments
Open

getTweets withReply false 无分页 #7

irisroyaltyf opened this issue Jul 30, 2023 · 6 comments

Comments

@irisroyaltyf
Copy link

getTweets withReply为 false的情况下,获取不到cursor 信息,没法分页

@BANKA2017
Copy link
Owner

目前所有 guest_token + bearer_token 方案在这个接口获取到的都是 100 条最有影响力(大概?反正不是时间倒序的)的推文,没有 cursor

@irisroyaltyf
Copy link
Author

irisroyaltyf commented Jul 30, 2023 via email

@BANKA2017
Copy link
Owner

我这里 withReplyfalse 时有两个接口 UserWithProfileTweetsQueryV2(web=false)、UserTweets(web=true),但返回的都不是最近的推文,时间也是乱序的。

我暂时摸索到能继续在这些接口继续正常返回的办法就是用 Android 客户端没登录时给的临时令牌来请求,但这些令牌在短期内请求六七次就会被风控停掉所有时间线相关接口的权限一天,这些临时令牌的有效期也是未知数(我手上最早的是07/07签的还没过期,twitter的文档说是签得出来理论永久),目前我也还没有更好的想法,只能先屯号。

@irisroyaltyf
Copy link
Author

irisroyaltyf commented Jul 30, 2023 via email

@BANKA2017
Copy link
Owner

唉,只希望那个姓马的别再折腾了,再死几个接口真的要玩不下去了

@irisroyaltyf
Copy link
Author

唉,只希望那个姓马的别再折腾了,再死几个接口真的要玩不下去了

UserByRestId 接口返回404了, 这个有其它方案替代么

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants