I have some tweet id
. I want to get retweeters
of this tweet
. Therefore, I use this api: https://dev.twitter.com/rest/reference/get/statuses/retweeters/ids.
There is a example of code written with help python 3
and TwitterAPI:
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})
My result is:
{"ids":[id1,id2,..id100],"next_cursor":0,"next_cursor_str":"0","previous_cursor":0,"previous_cursor_str":"0"}
I don't understand, why my cursors are null.