XML-RPC Client/Server Protocol Reference

This the XML-RPC[o][17] version of the Client/Server protocol. XML-RPC allows programs to make procedure calls over the Internet, regardless of differing operating systems and environments. It is also handy for returning preconstructed libraries of information (instead of having to have your program parse the regular server feedback).

In order to use the XML-RPC interface, make sure your client is referencing the /interface/xmlrpc section of the LiveJournal site it is communicating with.

Method Names

The full title of each method is actually LJ.XMLRPC.foo, where foo is the short name given below:

Table of Contents

checkfriends — Checks to see if your Friends list has been updated since a specified time.
consolecommand — Run an administrative command.
editevent — Edit or delete a user's past journal entry
editfriendgroups — Edit the user's defined groups of friends.
editfriends — Add, edit, or delete friends from the user's Friends list.
friendof — Returns a list of which other LiveJournal users list this user as their friend.
getchallenge — Generate a server challenge string for authentication.
getdaycounts — This mode retrieves the number of journal entries per day.
getevents — Download parts of the user's journal. See also syncitems mode.
getfriends — Returns a list of which other LiveJournal users this user lists as their friend.
getfriendgroups — Retrieves a list of the user's defined groups of friends.
getusertags — Retrieves a list of the user's defined tags.
login — validate user's password and get base information needed for client to function
postevent — The most important mode, this is how a user actually submits a new log entry to the server.
sessionexpire — Expires session cookies.
sessiongenerate — Generate a session cookie.
syncitems — Returns a list of all the items that have been created or updated for a user.

[17] For the XML-RPC spec, see: http://www.xmlrpc.com/spec[o]