?

Log in

No account? Create an account
August 28th, 2014 - LiveJournal Development [entries|archive|friends|userinfo]
LiveJournal Development

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

August 28th, 2014

AddComment method [Aug. 28th, 2014|05:09 pm]
LiveJournal Development

lj_dev

[lord_baskervil]
[Tags|, ]

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'?>

<methodResponse>

<fault>

<value>

<struct>

<member>

<name>faultString</name>

<value>

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

</value>

</member>

<member>

<name>faultCode</name>

<value>

<int>337</int>

</value>

</member>

</struct>

</value>

</fault>

</methodResponse>

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.

link1 comment|post comment

navigation
[ viewing | August 28th, 2014 ]
[ go | Previous Day|Next Day ]