lukash_yegor (lukash_yegor) wrote in lj_dev,
lukash_yegor
lukash_yegor
lj_dev

Comments downloading question

Hello, please, help me to download all comments from community. I use perl-script with clear-authorisation in a LJ-server (XML-RPC). Community is very big and old. And method syncitems get me 500 items. But I iterate this method and get all posts. Next step - is a downloading comment. In this step I got error. And autorisation is Faild. I create request to LJ whith method sessiongenerate and can get SESSID then send this ID to /export_comments.bml?get=comment_meta&startid=$maxid&authas=$SESSID Server response Error-content whith:
<h2>Error<h2>
...
<li>You could not be authentificated as the specified user</li>
...

But if I run this perl-script whith another autentificated-data (another community, no so big) I successfully get my XML from this URL.

Please tell me wrongs.
Tags: *unanswered, client, client: authentication, client: comments, client: troubleshooting, client: xmlrpc
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 

  • 11 comments