fetch all tweets..

asit lipun4u at gmail.com
Sun Nov 8 17:46:24 EST 2009


This question is for any python-twitter developer

I want to develop an application using python twitter .

Just look at the code...

import twitter

api = twitter.Api();
sta = api.GetUserTimeline('ShashiTharoor')
i = 0
for s in sta:
    i +=1
    print str(i) + "  " + s.text
    print
    print



The above code only fetches 20 tweets. How can I fetch all tweets ??



More information about the Python-list mailing list