为什么推特光标为空?

Why twitter cursor is null?

我有一些tweet id。我想得到这个 tweetretweeters。因此,我使用这个 api:https://dev.twitter.com/rest/reference/get/statuses/retweeters/ids.

有帮助 python 3TwitterAPI:

编写的代码示例
credentials = "credentials.txt"
o = TwitterOAuth.read_file(credentials)
api = TwitterAPI(o.consumer_key, o.consumer_secret, auth_type='oAuth2')

data = api.request('statuses/retweeters/ids', {'id': "370134917713494016", 'count': 100})

我的结果是:

{"ids":[id1,id2,..id100],"next_cursor":0,"next_cursor_str":"0","previous_cursor":0,"previous_cursor_str":"0"}

我不明白,为什么我的游标是空的。

这就是 the API for retweeters 的工作原理。

While this method supports the cursor parameter, the entire result set can be returned in a single cursored collection. Using the count parameter with this method will not provide segmented cursors for use with this parameter.

您最多只能从中获取 100 个用户。所以不需要游标。