Log in

No account? Create an account
LiveJournal Client Discussions [entries|archive|friends|userinfo]
LiveJournal Client Discussions

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

After logging in with XML... [Jul. 29th, 2005|02:52 pm]
LiveJournal Client Discussions


I'm working on a project to check many weblogs at once through their RSS feeds. I'm working on trying to get LiveJournals 'friends only' entries to show up in the RSS. Auth=digest isn't working with magpie, my feed parser. I thought XML would be a better way to login and see things only allowed for authenticated users, but it seems there is nothing I can do in relation to RSS to get the friends only feeds from any user.

Any ideas?

Note: I think I've got a PHP XML login page working. I have been trying like mad to find something that would work for me in PHP. My only proof is this response:

Array (
[userid] => 314159265...
[fullname] => myfullname
[friendgroups] =>
Array ( )
[usejournals] =>
Array (
[0] => community1
[1] => community2
[2] => lj_clients

Does this mean I'm logged in?
My apologies if this isn't 'client' enough for this community. From what I have read, the dev community doesn't seem as applicable for this problem. (and their explinations of anything are really confusing!)

[User Picture]From: marksmith
2005-07-29 10:16 pm (UTC)
There are two ways to get RSS feeds with friends entries:

1) HTTP auth digest, as you mentioned

2) Use the protocol's 'sessiongenerate' mode to create an ljsession cookie, then send this cookie in your HTTP request for the friends page.
(Reply) (Thread)
[User Picture]From: drmastermind
2005-07-30 04:08 am (UTC)


2) sounds like a workable option, my only question would be how to generate a cookie on my server without my client needing it?

Thanks for putting it simply :)
(Reply) (Parent) (Thread)
[User Picture]From: drmastermind
2005-08-01 12:47 pm (UTC)

Re: hmm

I've actually found a modified snoopy.class.inc for magpie that handles http auth digest! its on my site at:


(only for a limited time!)
(Reply) (Parent) (Thread)