Log in

No account? Create an account
LiveJournal Development [entries|archive|friends|userinfo]
LiveJournal Development

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

July 16th, 2008

Fotobilder export [Jul. 16th, 2008|11:24 pm]
LiveJournal Development


[Tags|, , , ]

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
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?
link4 comments|post comment

[ viewing | July 16th, 2008 ]
[ go | Previous Day|Next Day ]