Top.Mail.Ru
? ?
lj_dev, posts by tag: client - LiveJournal [entries|archive|friends|userinfo]
LiveJournal Development

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

cl-journal livejournal client [Dec. 12th, 2016|01:15 am]
LiveJournal Development

can3p
[Tags|, ]

Hey everyone,

I'd like to present a livejournal client that I wrote to fulfill my needs but maybe there are other people that can find it useful.

The general idea is that the best way to write text is to to it in a favorite text editor in a plain text file, since you can easily save it, back it up or keep it as a draft without any fear that it gets lost. In addition it's much easier to search through text files than to do it by going through blog pages or using livejournal blog search.

cl-journal provides this oportunity. All posts are just markdown files that you write and later publish with one command. Client not only publishes new posts but also handles post modifications and deletes.

At the moment client only pushes data to the server and won't know if post was modified via web interface, so it's better to use it to publish posts and do all modifications. The good part is that you can manage only selected posts with the client and publish others by usual means.

For a full feature set please have a look on a home page, for release announcements please feel free to join cl_journal_cli community.

Some of the next features I'm planning to work on is a pull from the server, so that it's possible to get all blog history as text files and post templates so that it's easier to handle layout changes and things like table of contents.

At the moment only Mac OS X is supported, although other operating systems should be more or less trivial to support.

Thanks for your attention!
linkpost comment

SessionGenerate and ljloggedin [Aug. 8th, 2016|01:43 am]
LiveJournal Development

lord_baskervil
[Tags|, , ]

Are there any information after release 86 and changes in cookies scheme to use sessiongenerate?
It returns ljsession key, but this key is not enough for calling getfriendspage method, for example, but is enough for login method.
linkpost comment

Retrieving comments [Apr. 23rd, 2016|05:25 pm]
LiveJournal Development

oboguev
[Tags|, , ]

Hi,

Is there a way to retrieve a list of comments made by user XXX (which may or may be not the currently logged in user) in the journals of users other than XXX?
link2 comments|post comment

Error: 399 . "Data corrupted" [Oct. 17th, 2015|04:19 pm]
LiveJournal Development

lord_baskervil
[Tags|, ]

Hi all. Some times ago I began to get new error from lj-server: error-code: 399 with message: Data corrupted.

Almost all time I get this error after requesting new challenge via getchallenge request. I can get 10 or 20 error one my one, or I can doesn't get error some requests in a row.

Do you have any ideas wtf?
link3 comments|post comment

Client error: No mode specified - I faced this error in flat API [Oct. 20th, 2014|05:38 pm]
LiveJournal Development

ezhik_israely
[Tags|, , ]

I found a lot of posts about this problem at 2010 year.
What about it now?

request was http://www.livejournal.com/interface/flat?mode=login&auth_method=clear&user={ezhik_israely&password=klhjlkjkj

Thanks!
Julia
linkpost comment

UserPic [Sep. 14th, 2014|10:26 pm]
LiveJournal Development
green_2005
[Tags|, , ]

Hi!
How can I get a userPic if I know username?
linkpost comment

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

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

Fetching images via API [Jul. 1st, 2014|03:46 pm]
LiveJournal Development
green_2005
[Tags|, , , ]

Hi!
Are there any methods to get image content that are marked as "Only for Friends" ?
I'm writing Android app and I try to use HttpGet. I add FB Headers like that:
Host: pics.livejournal.com
X-FB-User: bob
X-FB-Auth: crp:0123456789abcdef:0123456789abcdef

But in response I get Html page with access denied message.
linkpost comment

RPC request for polling [May. 27th, 2014|12:03 am]
LiveJournal Development

be_progressive
[Tags|, ]

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.
link2 comments|post comment

FotoBilder [Aug. 7th, 2013|10:26 pm]
LiveJournal Development

lord_baskervil
[Tags|, ]

Is it possible to link image (GetPics) and gallery (GetGals)? I want to see in desktop client all content of my scrapbook and show pictures in albums.
linkpost comment

navigation
[ viewing | most recent entries ]
[ go | earlier ]