title: Programmatically Untag FB Photos with Javascript
body: <p>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). </p>
  
  <p>I wanted to see if you guys had some advice to get me on my journey.</p>
  
  <p>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:</p>
  
  <blockquote>
    <p>/ajax/photo_tagging_ajax.php?pid=<strong>(PICTURE_ID)</strong>&amp;id=<strong>(PICTURE_OWNER_ID)</strong>&amp;subject=<strong>(SOMETHING)</strong>&amp;name=<strong>(YOUR+NAME)</strong>&amp;action=remove</p>
  </blockquote>
  
  <p>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.</p>
  
  <p>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.</p>
  
  <p>Will this even be possible or am I dreaming? (it's almost 4AM)</p>