?

Log in

No account? Create an account
Comments via XMLRPC? - LiveJournal Client Discussions [entries|archive|friends|userinfo]
LiveJournal Client Discussions

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

Comments via XMLRPC? [Nov. 3rd, 2005|04:17 pm]
LiveJournal Client Discussions

lj_clients

[simsong]
Hi. I've been trying to figure out how to read comments to postings using the LJ XMLRPC. I just can't figure it out. Does anybody have sample code?

Right now I'm trying to grab the URL and parsing it. That works most of the time, but it doesn't work with comments to entries that are friends-only. When I hit one of those, I throw up my hands .I know that there is a way to send through the LJ Cookie ,but I can't figure out how to make that, either.

So help on either would be very much appreciated!
linkReply

Comments:
[User Picture]From: jdstroy
2005-11-10 01:53 pm (UTC)
Yeah, unfortunately. I was hoping to make a new interface for LJ based on XMLRPC on another site, but the comments interface... well, you know.

I think that the documents for LiveJournal's XML-RPC has a method for making cookies: sessiongenerate. (Corresponding function for logout: sessionexpire.) Both are on the TOC page (above). Hopefully, you're not doing all this manually... =D

Since you're working with the comments, you might be interested in the Export Comments page. You can find the details about it here. Good luck, and tell me how it goes.
(Reply) (Parent) (Thread)