?

Log in

No account? Create an account
After logging in with XML... - 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

lj_clients

[drmastermind]
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!)
linkReply

Comments:
(Deleted comment)
(Deleted comment)
[User Picture]From: drmastermind
2005-07-30 12:09 am (UTC)
I've actually been playing with the g0thm0g tutorial all day. Thats the only reason I've gotten connected correctly! I'll look at your client. I think I'll soon be grasping at straws waiting for XML RPC to change!
(Reply) (Parent) (Thread)
[User Picture]From: marksmith
2005-07-29 06: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 12:08 am (UTC)

hmm

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 08:47 am (UTC)

Re: hmm

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

http://omnifriend.net/Snoopy.class.inc

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