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 <a...@twitter.com> 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 <nick.arn...@gmail.com> wrote:
>>
>>
>> On Mon, Feb 23, 2009 at 10:50 AM, Terry Jones <terry.jo...@gmail.com> 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
>

Reply via email to