Home

Advertisement

LJ.XMLRPC.addcomment

  • Dec. 15th, 2009 at 10:50 AM
Has anyone successfully used the undocumented addcomment XMLRPC method?

It seems to take journal, ditemid, parenttalkid, poster, body, subject and props.

ditemid is self-explanatory, but I'm not sure what parenttalkid is. Every time I've tried to call the method, I get an error of 'No such entry. at /home/lj/cgi-bin/ljprotocol.pl line 250'. Looking at the code, this is right after the journal specified by the journal argument is pulled from the table. Any ideas?

Comments downloading question

  • Dec. 11th, 2009 at 4:04 PM
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.

Latest Month

November 2009
S M T W T F S
1234567
891011121314
15161718192021
22232425262728
2930     

Tags

Powered by LiveJournal.com
Designed by Tiffany Chow