Why twyt library? I have hacked on twitter API aswell; but I used the http://code.google.com/p/python-twitter/ wrapper from Google.
Is there a wiki page that lists all different wrappers and explains why one is to be used over the other? Thanks. On Tue, Feb 24, 2009 at 3:22 AM, Zac Bowling <[email protected]> wrote: > > Script is running now. It has a 1.5 second delay between calls to be > nice to twitter (hope that is enough). Already down about 2,000 > people. > > using the twyt python library (with some modifications to support the > new social graph api) and simplejson. > > ------- > from twyt.twitter import Twitter > import simplejson > import time > > t = Twitter() > t.set_auth("loic","xxxx") > b = simplejson.loads(t.user_friends_graph()) > for i in range(len(b)): > try: > t.friendship_destroy(b[i]) > print "%s - unfriending %s" % (i,b[i]) > except Exception: > #TODO: INSERT ASCII FAIL WHALE > print "<insert ascii fail whale here!>" > time.sleep(1.5) > > ------- > > Thanks a ton! > > Zac Bowling > http://twitter.com/zbowling > http://zbowling.com/ > > > > On Mon, Feb 23, 2009 at 11:15 AM, Alex Payne <[email protected]> wrote: > > > > That's not accurate, Nick. All accounts are expected to maintain a > > ratio of followers to following. As long as more people follow you > > than you follow in turn, you're good. > > > > On Mon, Feb 23, 2009 at 10:55, Nick Arnett <[email protected]> > wrote: > >> > >> > >> On Mon, Feb 23, 2009 at 10:50 AM, Terry Jones <[email protected]> > wrote: > >>> > >>> Or if he really does want to start again, just delete the account and > >>> recreate it. That would have a certain appealing symmetry. > >> > >> Ah, but new accounts can only follow 2,000 people, so I'll bet he > doesn't > >> want that. > >> Nick > > > > > > > > -- > > Alex Payne - API Lead, Twitter, Inc. > > http://twitter.com/al3x > > > -- Regards, Lakshman becomingguru.com lakshmanprasad.com
