lundi 6 avril 2015

Why does twitter cursor is null?


Vote count:

0




I have some tweet id. I want to get retweeters of this tweet. Therefore, I use this api: http://ift.tt/1DcWqHp.


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 is null.



asked 1 min ago

Denis

792






Why does twitter cursor is null?

Aucun commentaire:

Enregistrer un commentaire