J (banana) wrote in lj_dev,
J
banana
lj_dev

Fotobilder export

I'm having trouble with my Fotobilder client. I'd like to be able to export the user's pictures as a backup. I knew that the Perl client did this, so I looked at how it works. It's rather different to the rest of the Fotobilder stuff: it seems to get the export data by POSTing to http://pics.livejournal.com/manage/export, and it seems to authenticate by a challenge/response cookie. I hope I've understood this correctly.

My first problem is that when my client requests an export I get a 302 sending me to the LJ login page - presumably because the server doesn't like my cookie. To find out if it was just me getting it wrong, I tried running the Perl client. My second problem is that when I try ./fotoup.pl --backup it says
Fetching export.xml from server...
Can't locate object method "new" via package "XML::LibXML::SAX" at /usr/lib/perl5/vendor_perl/5.10/XML/SAX/ParserFactory.pm line
 43.
Now I'm stumped.
  1. Is the Perl client broken?
  2. Does the Perl client work under Cygwin?
  3. Does the server still accept this style of authentication?
  4. Is there any way to get the export data through the normal protocol?
Tags: client, client: export, client: fotobilder, code: perl
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 4 comments