Programmatically Untag FB Photos with Javascript
Posted
by Tal
on Stack Overflow
See other posts from Stack Overflow
or by Tal
Published on 2010-05-18T07:38:14Z
Indexed on
2010/05/18
7:40 UTC
Read the original article
Hit count: 178
Hello!
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.
Will this even be possible or am I dreaming? (it's almost 4AM)
© Stack Overflow or respective owner