Isaac Whatever

I'm making this up.

Thursday, January 02, 2014

 

Instagram Woes

My instagram account must have gotten hacked. I was following 7,500 people. Just opening up the app would cause my phone to get hot and kill the battery.

Unfollowing everyone individually would never work. The app would stop responding after the first few unfollows.

But they're a new, forward-thinking company. They have an API.

Programming to the rescue!

I found this:
https://github.com/Instagram/python-instagram

I got a little script up and running. I would fetch an access token manually and then plug it into the script. I read that the API had a limit of 50 unfollows per hour. I was careful to put in appropriate sleeps.

I fired it up, and it worked:
> ./bin/python unfollowr2.py 4d1918a69bbf400c81d0a06f8a948be8
Unfollowing User: slinkii_athletic
Unfollowing User: broxiesevents
Unfollowing User: beingprincess
Unfollowing User: rftm
Unfollowing User: alhwaizi
Unfollowing User: markthomps0n
Unfollowing User: arifbader
Unfollowing User: mira_sezar
Unfollowing User: maksimtokaev
Unfollowing User: michaelkors2014
Unfollowing User: genesismusik
Unfollowing User: projectcreator
Unfollowing User: domanitime
Unfollowing User: georgie_greig
Unfollowing User: herbalifejackie
Unfollowing User: benzkanyaphat
Unfollowing User: label31
Unfollowing User: kangcelvin_wae
Unfollowing User: erniesingleton
Unfollowing User: lovecreamskincare
Unfollowing User: mary_kondra
Unfollowing User: katya__lee
Unfollowing User: bpeacemusic
Unfollowing User: bta3_klooo
Unfollowing User: 3iooy
Unfollowing User: yourwardrobe_indo
Unfollowing User: estabrq1
Unfollowing User: ayo_dynasty

And then, sadly, it quit working. There's also a limit on each access token.

Ugh. Forget it. I deleted my instagram account and created another one with the same username but with a 2 on the end.

Bleh.





<< Home

Archives

May 2004   June 2004   July 2004   September 2004   October 2004   November 2004   February 2005   March 2005   April 2005   May 2005   June 2005   August 2005   September 2005   October 2005   November 2005   December 2005   January 2006   April 2006   July 2006   September 2006   October 2006   February 2007   March 2007   April 2007   May 2007   November 2007   December 2007   January 2008   February 2008   March 2008   April 2008   May 2008   June 2008   July 2008   August 2008   October 2008   November 2008   December 2008   April 2009   January 2010   December 2010   January 2012   February 2012   March 2012   May 2012   September 2012   October 2013   January 2014   December 2014   April 2022  

This page is powered by Blogger. Isn't yours?

Subscribe to Posts [Atom]