scalderwood (scalderwood) wrote in lj_dev,

Mass Delete Icons


I'm working on a simple script that will delete all of my user icons on LiveJournal.

Here is what I've got the script doing, and I'm not sure why it doesn't work: (For this example, I'll assume there is one icon, whose number is 9774058)

-Load editpics.bml
-Get the lj_form_auth
-Post the following data to editpics.bml:

The result is that the icons remain unchanged (this is true if I try other icon maintenance tasks, such as changing keywords or which is the default icon). I know the lj_form_auth is correct. And from viewing source I can see that if you check the delete box to delete an icon then the relevant data that gets posted is: delete_# with a value of 1 (where # is the icon number).

For what it's worth, I'm doing this in PHP using cURL. I didn't post my code because I think my problem is that there is some data that needs to be posted; I figured it was clearer this way.   I've also tried posting the form data for the icon's keywords and comments (along with the original values), but that had no noticeable effect.

If anyone can help, I'd appreciate it.

Tags: *unanswered, client: troubleshooting, client: userpics

  • cl-journal livejournal client

    Hey everyone, I'd like to present a livejournal client that I wrote to fulfill my needs but maybe there are other people that can find it…

  • SessionGenerate and ljloggedin

    Are there any information after release 86 and changes in cookies scheme to use sessiongenerate? It returns ljsession key, but this key is not enough…

  • Retrieving comments

    Hi, Is there a way to retrieve a list of comments made by user XXX (which may or may be not the currently logged in user) in the journals of users…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded