twitter-monitor
twitter-monitor copied to clipboard
getTweets withReply false 无分页
getTweets withReply为 false的情况下,获取不到cursor 信息,没法分页
目前所有 guest_token + bearer_token
方案在这个接口获取到的都是 100
条最有影响力(大概?反正不是时间倒序的)的推文,没有 cursor
如果withReply 是true 也就是使用接口:UserWithProfileTweetsAndRepliesQueryV2, 是可以加cursor的, 如果withReply 是false 返回的是时间正序的,具体什么逻辑不太清楚
发件人: BANKA2017 @.> 发送时间: 2023年7月30日 12:27 收件人: BANKA2017/twitter-monitor @.> 抄送: irisroyaltyf @.>; Author @.> 主题: Re: [BANKA2017/twitter-monitor] getTweets withReply false 无分页 (Issue #7)
目前所有 guest_token + bearer_token 方案在这个接口获取到的都是 100 条最有影响力(大概?反正不是时间倒序的)的推文,没有 cursor
― Reply to this email directly, view it on GitHubhttps://github.com/BANKA2017/twitter-monitor/issues/7#issuecomment-1657039442, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AECKG4X6QPYXZNPM4VEDQBTXSXPEXANCNFSM6AAAAAA245V5TE. You are receiving this because you authored the thread.Message ID: @.***>
我这里 withReply
是 false
时有两个接口 UserWithProfileTweetsQueryV2
(web=false
)、UserTweets
(web=true
),但返回的都不是最近的推文,时间也是乱序的。
我暂时摸索到能继续在这些接口继续正常返回的办法就是用 Android 客户端没登录时给的临时令牌来请求,但这些令牌在短期内请求六七次就会被风控停掉所有时间线相关接口的权限一天,这些临时令牌的有效期也是未知数(我手上最早的是07/07签的还没过期,twitter的文档说是签得出来理论永久),目前我也还没有更好的想法,只能先屯号。
我比较担心其它接口也用不了多久了
发件人: BANKA2017 @.> 发送时间: 2023年7月30日 12:59 收件人: BANKA2017/twitter-monitor @.> 抄送: irisroyaltyf @.>; Author @.> 主题: Re: [BANKA2017/twitter-monitor] getTweets withReply false 无分页 (Issue #7)
我这里 withReply 是 false 时有两个接口 UserWithProfileTweetsQueryV2(web=false)、UserTweets(web=true),但返回的都不是最近的推文,时间也是乱序的。
我暂时摸索到能继续在这些接口继续正常返回的办法就是用 Android 客户端没登录时给的临时令牌来请求,但这些令牌在短期内请求六七次就会被风控停掉所有时间线相关接口的权限一天,这些临时令牌的有效期也是未知数(我手上最早的是07/07签的还没过期,twitter的文档说是签得出来理论永久),目前我也还没有更好的想法,只能先屯号。
― Reply to this email directly, view it on GitHubhttps://github.com/BANKA2017/twitter-monitor/issues/7#issuecomment-1657043168, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AECKG4VCXJIGGTPBTKVDLBLXSXSZRANCNFSM6AAAAAA245V5TE. You are receiving this because you authored the thread.Message ID: @.***>
唉,只希望那个姓马的别再折腾了,再死几个接口真的要玩不下去了
唉,只希望那个姓马的别再折腾了,再死几个接口真的要玩不下去了
UserByRestId 接口返回404了, 这个有其它方案替代么