Open GoogleCodeExporter opened 8 years ago
this works fine to me.
Make sure you passed the user id to the api call: api.GetUserTimeline(u.id)
api = twitter.Api(consumer_key=consumer_key, consumer_secret=consumer_secret,
access_token_key=access_token, access_token_secret=access_token_secret)
users = api.GetFriends()
# Fetch each friends timeline:
for u in users:
print u
try:
statuses = api.GetUserTimeline(u.id)
print [s.text for s in statuses]
except TwitterError, t:
print t
cheers
Uolter
Original comment by wtraspad
on 28 Jan 2012 at 9:28
Original issue reported on code.google.com by
sirus.saeedipour
on 11 Jan 2012 at 5:24