User timeline function

82 views
Skip to first unread message

Kumar Appaiah

unread,
Dec 9, 2009, 6:37:50 PM12/9/09
to twe...@googlegroups.com
Dear Tweepy users,

I was wondering how the User.timeline function is intended to work;
currently, since it just uses the API object using which it is
created, the following code results in just my timeline always
(twitter is the API instance):

any_user = twitter.get_user('any_random_user')
any_user_timeline = any_user.timeline()

Now, any_user_timeline is my own timeline; this seems to be a tad
misleading. Of course, twitter.user_timeline('any_user') works
correctly, as expected.

Please let me know if I am missing something.

Kumar
--
Wishing to hearten a timid lamp
great night lights all her stars.
- Rabindranath Tagore (Fireflies, 1928)

Josh Roesslein

unread,
Dec 9, 2009, 6:41:27 PM12/9/09
to twe...@googlegroups.com
Hey,

This looks like a bug in Tweepy. I will investigate it and get a patch
pushed out ASAP.
Thanks for reporting.

Josh

Josh Roesslein

unread,
Dec 9, 2009, 6:48:09 PM12/9/09
to twe...@googlegroups.com

Kumar Appaiah

unread,
Dec 9, 2009, 6:59:22 PM12/9/09
to twe...@googlegroups.com
On Wed, Dec 09, 2009 at 05:48:09PM -0600, Josh Roesslein wrote:
> Okay a fix has been pushed for this issue.
>
> Fix: http://github.com/joshthecoder/tweepy/commit/36fa0cba4aeef057b10a10b1ed32d731a71844f8

Thanks for the quick response, Josh!

Kumar
--
Your idol is shattered in the dust to prove that God's dust is greater than your idol.
- Rabindranath Tagore (Stray Birds, 1916)
Reply all
Reply to author
Forward
0 new messages