I've spent the past hour hacking away at this: I want to write a Javscript routine to programatically untag myself from photos on Facebook. Once it works, I'll run it in the Firebug console and untag myself from all Facebook photos (there's no way to do this through the GUI).
I wanted to see if you guys had some advice to get me on my journey.
I have a few methods in mind but haven't come too far along quite yet. I've tried an AJAX approach by creating a new HTML request and pointing it to the remove_tag URL, which looks something like this:
/ajax/photo_tagging_ajax.php?pid= (PICTURE_ID) &id= (PICTURE_OWNER_ID) &subject= (SOMETHING) &name= (YOUR+NAME) &action=remove
Not surprisingly, this doesn't work (yet). I've been checking the HTTP response in Firebug and it's quite different than the one when I actually untag a picture. It's not even sending a POST request.
Just to clarify, I've also tried doing a getElementById on the "remove tag" anchor, and then doing a document.location switcharoo, but that doesn't work. I also can't do a .click() on it.
Will this even be possible or am I dreaming? (it's almost 4AM)