instabackup

You’re here because Instagram doesn’t have a desktop-only authentication flow.

Paste the following thing into the command-line script:




var match = /access_token=(S+)/.exec(window.location.hash);

if (match) {
    document.write(match[1]);
} else {
    document.write("Can't find token! Maybe you didn't approve me? Maybe something went wrong?");
}




In case you’re not here because of that script, you might want to look at instabackup. It backs up your instagram photos.