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

<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.

RPC request for polling

Hey there!
I try to send request to Lj rpc-xml server for polling, but it return an error 203 - "Invalid argument(s): answers [203]".

Poll has ID
1968584 and chosen answer is 2.

The data that I send:

requestHash = new HashMap<String, Object>();
requestHash.put("pollid", "1968584");
requestHash.put("answers", "2");
client.call("LJ.XMLRPC.votepoll", requestHash);

In ljprotocol.pl I found following code:

# check answers parameter
  my $answers = $req->{answers};
  return fail($err, 200, 'answers') unless($answers);
  return fail($err, 203, 'answers') unless(ref $answers eq 'HASH');

But I can't understand, what means 'HASH' :(
Please, help me to find out, what am I doing wrong.
Mohnblumen (standard)

is_show, is_loaded in getcomments

Hi, has someone figured out what the parameters "is_show" and "is_loaded" mean exactly? They are returned by the getcomments function. I've played around a bit and I can see that the are both generally set to 1, but they will be both set to 0, if the comment was deleted. Do situations such as this ever occur?

is_show = 0
is_loaded = 1

OR

is_show = 1
is_loaded = 0
жизнь в Тироле, Горнолыжный инструктор в Австрии, Технологии для горнолыжных курортов

function- lj-like

In the journal community lj-photophile.livejournal.com is such a function- lj-like, when users can mark their favorite articles.
(The figures below each article like "+1 (45)")

how i kann included this property?

If nobody don't know, please somebody tell me, who can I ask?

when I asked this livejournal service, they heard from me about this property for the first time.

Thank´s a lot,
tall-grass, kids, smile

No more private photo uploads?

(I asked this in the support forum, too, but I'm not getting any response; maybe this community is a better place to find the people who know.)

I maintain a photo uploader for Android which uses the Fotobilder API. Yesterday I noticed that private uploads, using the PicSec: 0 setting, were not working: they get an error message:

<Error code='211'>Invalid argument: PicSec</Error>

When I switch to public (PicSec: 255) or friends-locked (PicSec: 254), the client works correctly. And I know PicSec: 0 was working no more than three weeks ago.

Does anybody know whether private uploads have been deliberately blocked in the Fotobilder API for some reason, or is it just a bug?

(On further experimentation, I find that GalSec: 0 is also being refused, which makes me think it's more likely to be deliberate...)