Reputation: 21218
In the app I'm working on I'm showing tweets from a specific user, which works fine except that it's only showing the last 20 tweets. Is there a way of getting around this limit and if so how to do it?
views.py:
user = twitter.User
tweets = []
statuses = t.GetUserTimeline(user)
for s in statuses:
text = linkify(s.text)
tweets.append('<p>' + text + '</p>')
Upvotes: 0
Views: 137
Reputation: 11155
Are you sure that you get only 20 tweets? GetUserTimeline gives last 100 tweets, if you want, pass count=x, where x is number of tweets you want. Or am making a guess here, the user you are trying connect only has 20 tweets in his account. see the link http://nullege.com/codes/search/twitter.Api.GetUserTimeline?fulldoc=1
Upvotes: 1