简体   繁体   English

从“列表”的末尾获取 Twitter 上的用户关注者

[英]Getting user follower's on Twitter from the end of the "list"

Unfortunately the process of getting the followers of a user failed somewhere in the middle (400k or so followers in total).不幸的是,获得用户关注者的过程在中间的某个地方失败了(总共有 40 万左右的关注者)。 I was wondering if there was any way to start this process from the other side of the spectrum, ie from the end of the list.我想知道是否有任何方法可以从范围的另一端,即从列表的末尾开始这个过程。 As explained here , currently the results are ordered with the most recent following first.正如这里所解释的,目前的结果是按照最新的顺序排列的。 Is it possible to start the process from the end of this list (since I already got the first half)?是否可以从这个列表的末尾开始这个过程(因为我已经得到了前半部分)? The above-mentioned documentation page doesn't indicate anything but I thought I'd ask once.上述文档页面没有说明任何内容,但我想我会问一次。

As you can see from the documentation that you linked, the GET followers/list endpoint does not accept any parameters that would change the order of the results.正如您从链接的文档中看到的那样,GET follower/list 端点不接受任何会更改结果顺序的参数。 This isn't something Twitter's API supports.这不是 Twitter 的 API 支持的内容。

If you have the previous_cursor or next_cursor for your last page of results, you can pass that to the endpoint as the cursor parameter to continue where you left off.如果您的最后一页结果有previous_cursornext_cursor ,则可以将其作为cursor参数传递给端点,以从上次中断的地方继续。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM