Need to update the examples

11 views
Skip to first unread message

BobLQ

unread,
Sep 15, 2009, 1:36:00 AM9/15/09
to Twython Talk
The examples seem to be using "tango" in place of "twython".

Eg. I find source for get_user_timeline.py is
============================
import tango

# We won't authenticate for this, but sometimes it's necessary
twitter = tango.setup()
user_timeline = twitter.getUserTimeline(screen_name="ryanmcgrath")

print user_timeline
============================

Also the twython setup does not seem to install the twython module
properly.

Once I had work around those problems the code wroks properly.

I have been using python-twitter for some time now but your work looks
cleaner and more complete. It would be a pity to see you stumble at
the finish line over these little but important problems.

BobLQ

Ryan McGrath

unread,
Sep 15, 2009, 10:37:59 AM9/15/09
to twytho...@googlegroups.com
Yeah, the documentation is sadly out of date. I'm more than willing to let anybody who'd like to fix it have access to it, though - any takers?

The installation problem is odd, as it works fine for some people, but fails miserably for others. Not sure what the deal is, but it's definitely something we need to fix before 1.0. :\

- Ryan
Reply all
Reply to author
Forward
0 new messages