Порядочная сволочь с мерзким характером (lord_baskervil) wrote in lj_dev,
Порядочная сволочь с мерзким характером

AddComment method

Hi. This method works only for my posts, but I can't add comment to non-my posts. Each attempt returns this error:

<?xml version='1.0' encoding='UTF-8'?>








<string>Client error: Not allowed to create comment</string>













I see this version of source code (http://repo.or.cz/w/livejournal.git/blob/HEAD:/cgi-bin/ljprotocol.pl#l560) I see that this error code returns if LJ::Comment->create failed but I don't understand why does it fail?
For my posts I can add comments without problem.

Tags: client, client: comments
  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 1 comment


August 28 2014, 14:56:28 UTC 9 months ago

I solved the problem.
For JOURNAL value I should use the journal to what I want post. Not journal from what I post