Permalink
Browse files

The function GetUserTimeline id=user format

  • Loading branch information...
1 parent 03104aa commit 7c39e2295ec0c0467ce20e6803b73e74d22f8c32 @pradeep1288 pradeep1288 committed Jan 31, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/twitter-to-xhtml.py
@@ -30,7 +30,7 @@ def Usage():
def FetchTwitter(user, output):
assert user
- statuses = twitter.Api().GetUserTimeline(user, count=1)
+ statuses = twitter.Api().GetUserTimeline(id=user, count=1)
s = statuses[0]
xhtml = TEMPLATE % (s.user.screen_name, s.text, s.user.screen_name, s.id, s.relative_created_at)
if output:

0 comments on commit 7c39e22

Please sign in to comment.