Home
LiveJournal Development [entries|archive|friends|userinfo]
LiveJournal Development

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

LJ.XMLRPC.addcomment [Dec. 15th, 2009|10:50 am]

jfelectron
[Tags|, , , ]
[Current Location |United States, California, Hayward]

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?
link5 comments|post comment

Comments downloading question [Dec. 11th, 2009|04:04 pm]

lukash_yegor
[Tags|, , , , , ]

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

undocumented XML-RPC methods [Dec. 2nd, 2009|12:03 pm]

jfelectron
[Tags|, , , , , ]
[Current Location |United States, California, Santa Rosa]

Some googling and testing revealed the following undocumented XML-RPC methods, which expose a number of nice functions from the client side.

All are in the LJ.XMLRPC namespace of course:

getfriendspage
sendmessage
setmessageread
getinbox
addcomments

These were gleaned from: code.livejournal.org/trac/livejournal/browser/trunk/cgi-bin/ljprotocol.pl

It seems only paid users can call addcomments.
This codebase is over a year old, it looks like they aren't using that repository. I believe there may be other methods. The iPhone app developer[info]cosysoftware_en some upcoming functionalities in his app that don't seem available from these methods. He claims to have gotten LJ to extend the XML-RPC interface, but won't disclose what these new functions might be.

The LJ support is useless. Is there another way to contact LJ devs? Anyone with XML-RPC client should implore LJ to update their documentation.



link15 comments|post comment

Supported method for changing main site index.html [Dec. 3rd, 2009|03:22 pm]

mocker_
[Tags|, , ]
[mood | cheerful]

New site up and running and I'm to the point of editing the main index page. On the page it says to reference this


You'll want to customize this page. Read the instructions at http://www.livejournal.com/doc/server/lj.customize.index.html for help.


to update the page. The only thing I see that might relate in there is the section about updating a language file.

Should I update it the normal way by creating it in my CVS local directory and syncing it over, or is there a different method for site pages like the main index?
link1 comment|post comment

(no subject) [Nov. 28th, 2009|08:29 pm]

tlamer
[Tags|, , ]

I'm trying to add newpost to my journal using curl,

curl -d"mode=postevent&.....&event=
[Error: Irreparable invalid markup ('<img src&eq;http://img_url>') in entry. Owner must fix manually. Raw contents below.]

I'm trying to add newpost to my journal using curl,

curl -d"mode=postevent&.....&event=<img src&eq;http://img_url>" www.livejournal.com/interface/flat

result of this operation is "<img src" i'm understand that problem is in &eq; but show to fix it (?
link5 comments|post comment

sessiongenerate weirdness [Nov. 23rd, 2009|08:37 pm]

fub
[Tags|, , , , ]
[mood | confused]

I'm currently working on integrating Scrapbook in my LJ client. When downloading pictures, I got a 403 Forbidden error when downloading pictures that were under a friends-lock. That's (of course) exactly as it should be.
So my strategy is to get an LJ session cookie (through the sessiongenerate interface call) and send that along with my request for the pictures. However, I can't get it to work with the cookie I get back from the sessiongenerate call. To check, I extracted my ljsession cookie from Firefox and pasted that into my code -- and then it worked. So it's not my code that is broken. Tt seems as if the return value from sessiongenerate is invalid...

I inspected the two cookies a bit further, and saw an interesting difference. The one from sessiongenerate has the following structure:
v1:u[some number]:s[some number]:[11 alphanumeric characters]//Thanks+for+signing+in+/+LiveJournal+loves+you+a+lot+/+Here+have+a+cookie
The one that I picked from Firefox (that does work) is like this:
v1:u[some number]:s[some number]:[11 alphanumeric characters]:[41 alphanumeric characters]//Thanks+for+signing+in+/+LiveJournal+loves+you+a+lot+/+Here+have+a+cookie

The ones I get back from sessiongenerate are consistent in their structure, and they miss the second string of alphanumeric characters that my working cookie does have. What is going on? Is this a bug, or am I doing something wrong?
link5 comments|post comment

Posting russian text + HTML tags via XML-RPC postevent [Nov. 17th, 2009|08:21 am]

readandlook
[Tags|, , , , , ]

Hello!
What is the most simple way to post russian text into message and subject fields (using Qt4 + cURL, via plain or XML-RPC)? I use the .toUtf8() procedure to prepare the result post body code and insert it into the XML template, but after the operation this article is not editable simple way - charset error detected.

Also it would be wonderful to insert into the body html tags (via XML-RPC). Is it possible, maybe you know how to do it using Qt library fucntions? I'm new in XML and network programming, so excuse me my stupid questions. :-)
link5 comments|post comment

Sad news [Oct. 24th, 2009|04:02 pm]

pauamma
[Tags|]

For those who haven't heard already: SUP let go of tupshin this week. He will be sorely missed. :-(
link2 comments|post comment

misleading documentation on XML-RPC interface [Sep. 25th, 2009|06:24 am]

aslj_client
[Tags|, , , ]

In the documentation for the "postevent" method in the XML-RPC interface, it says that the "props" parameter should be an array containing a struct, but I am fairly certain that the "props" parameter should just be a struct, from experience and per the discussion here.
link5 comments|post comment

fotoup.pl problem [Sep. 22nd, 2009|11:34 am]

serge_g239
[Tags|, , , ]

"fotoup.pl --gallery" does not work anymore: Read more... ) Any help is appreciated! Thanks!
link2 comments|post comment

Web admin console? [Sep. 18th, 2009|05:24 pm]
lifelessdata
[Tags|, , ]

Does the online interface referred to here exist? Is there documentation for this commandline tool anywhere?
link6 comments|post comment

(no subject) [Sep. 14th, 2009|03:41 pm]

unknownj
[Tags|, , ]

In an attempt to potentially share ideas, as opposed to blowing my own trumpet (as if), I thought I'd share a few details about the "client" that I've written, which basically functions as a multi-user community management.. thing...

Mostly self-congratulatory rambling, I expect, but I think it's neat.. )
link1 comment|post comment

New Maintainer! [Sep. 13th, 2009|09:45 pm]

stevieg
[Tags|, ]

Just a quick note to let you all know that [info]tupshin (Director of Engineering and Operations for LiveJournal) has been added as a maintainer for the community and will be assisting us with questions and issues that require a staff member.
linkpost comment

Jumping Onto To "My LJ Client!" Bandwagon... [Sep. 13th, 2009|12:16 pm]

allah_sulu
[Tags|, , , , , , ]

For several years now I've been playing with and upgrading a program called Allah Sulu's Massive Tool. (I forget who is to blame for the name.) It has its own community, as_massive_tool, as well as a reference page (now subdivided into categories) showing my vast collection of substitute user and community icons which can be used for customized LJ-type user tags. (This was how the program originally started, and appears to be one of the most popular features.) I welcome suggestions and requests in my community, and have implemented most of those which I have received.

The Massive Tool can be used to post to LJ, from any user account and to any community which the user has set up (and which they also have posting access to, obviously). It will save usernames and passwords; and given those, can also retrieve for a journal the complete list of avatars, tags, and custom friend groups (or just the list of tags, for a community). I'm toying with a rudimentary cross-posting ability (although I'm not sure if I want to include that, or if I should put a limit on it, since it would be ripe for abuse) and I could fairly easily make it compatible with DreamWidth as well if I got enough requests (I know people who use both LJ and DW, but I'm pretty much LJ only). It also have other specific LiveJournal functions, including the ability to create polls; and that is on top of the fact that it's a very powerful and complex text/HTML editor which can create all manner of tables, lists, and other effects. (I use it for editing web pages outside of LJ as well as for writing LJ posts.) It even has a built-in programming language (based on FORTH) which can be used for writing rather complex and powerful scripts.

I only use it under Windows XP, but I've been told that it works with Windows 2000 and Windows Vista. I have no idea whether or not it's been tried with other versions of Windows, and I have no plans to attempt a Mac or Linux port. For those who don't use Windows (or don't want to install the program), the aforementioned reference page has some Javascript code to allow anyone to create customized LJ tags from that page and copy-paste them into their documents.

linkpost comment

Hopping on the Client Bandwagon [Sep. 12th, 2009|09:49 am]

feignedapathy
[Tags|, , , , ]

I should probably mention ElJay ([info]eljay_android or home page), the LiveJournal Client for the Android platform (commonly seen on the G1 and MyTouch 3G). It can be found in the Android Market, and there's a new release coming next week which will be available as a downloadable package for those without access to the Market.
link9 comments|post comment

Since we're talking about updating the download page... [Sep. 12th, 2009|08:33 am]

raven_ap_morgan
[Tags|, , , , , , , ]

...may I make a case for MultiLJ?

It is a full-featured LiveJournal client for Windows XP and Vista, using the .NET 3.5 Framework. It is under active development, and has it own community ([info]multilj). It's been in existence for better than a year now, and runs substantially bug-free - what quirks it has are discussed on the download page. At this point, besides the occasional bug fix, the only significant feature that is missing is a photo upload interface.

So what do you think?
link7 comments|post comment

PocketLJ is no more... [Sep. 12th, 2009|11:13 am]

thelovebug
[Tags|, , , ]

Thanks to [info]aslj_client for reminding me that I hadn’t told you that PocketLJ, the AvantGo-based mobile LJ client is no more.

It shut down officially at the end of May.

Can it please be removed from the handheld download page?
link1 comment|post comment

Mac Clients list [Sep. 11th, 2009|03:24 pm]

aslj_client
[Tags|, , , ]

Looking at the official list of clients for Mac (here), the most recent client to be updated had an unofficial build released over 8 months ago (Phoenix); the most recent official release is Xjournal, at the end of 2008, and the current official versions of iJourna, Phoenix, and zljpost were released in 2006. The link for Journalert is broken and [info]sprote's most recent entry is in 2005. I think the page could use an update.

If it's possible, I'd also like to have asLJ added to the page, as it has all the standard LJ client features and some not found in the other Mac clients as well as having been updated much more recently. While the current version, v0.5, is labeled as an alpha release (the next major version, v0.6, will be labeled as a beta), there have been no confirmed bug reports in the two weeks since it was released.
link2 comments|post comment

How I can get comments count using XML-RPC ? [Sep. 10th, 2009|11:26 am]

drupals
[Tags|, , , , ]

I used XML-RPC ( http://www.livejournal.com/doc/server/ljp.csp.xml-rpc.protocol.html ) for create entry in LJ from my site. How I can get comments count for my entry? I used "LJ.XMLRPC.getevents" method and receive commentsalter value ( Comments altered. Unix time of the last change to number of comments to this post ) but I can't see commentscount value.

Help, please
linkpost comment

Fresh Installation of LJ [Sep. 5th, 2009|06:33 am]
abudaoud
[Tags|, , , , ]
[Current Location |home]

I just did a clean installation of LJ and am getting the following errors:

Can't locate object method "is_sup_enabled" via package "LJ::SUP" (perhaps you forgot to load "LJ::SUP"?) at /home/lj/cgi-bin/weblib.pl line 2067. @ www.mydomain.com

"my" variable $getextra masks earlier declaration in same scope at '/home/lj/htdocs/editjournal.bml' line 40.

Using a hash as a reference is deprecated at '/home/lj/htdocs/editjournal.bml' line 357.

Can't locate object method "is_sup_enabled" via package "LJ::SUP" (perhaps you forgot to load "LJ::SUP"?) at /home/lj/cgi-bin/weblib.pl line 2067. @ www.mydomain.com

"my" variable $getextra masks earlier declaration in same scope at '/home/lj/htdocs/editjournal.bml' line 40.

Using a hash as a reference is deprecated at '/home/lj/htdocs/editjournal.bml' line 357.

I have gone through the documentation and member comments, but was unable to find a solution. Help is needed, urgently, please!

link3 comments|post comment

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