?

Log in

No account? Create an account
I'm working on writing what is basically an RSS feed aggregator in… - LiveJournal Client Discussions — LiveJournal [entries|archive|friends|userinfo]
LiveJournal Client Discussions

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

[May. 31st, 2006|02:09 pm]
LiveJournal Client Discussions

lj_clients

[gargoylemusic]
I'm working on writing what is basically an RSS feed aggregator in PHP. What I am having trouble with, however, is user authentication (to view firends-only posts, etc).

I can see how to use the XML-RPC specs to generate server-challenge strings for authentication, etc. But what I don't know is how to use that (the user's username, passwd, or anyt authentication that can be gotten from XML-RPC) to actually have PHP authenticate the user (and grab their protected RSS feeds.)

Does anyone have any tips on how to do this (any aspects of libcurl that I'm missing?) I have tried http://username:password@exampleusername.livejournal.com/data/rss?auth=digest, and I have tried that using the md5 hash of my password - but clearly I'm missing something.

If you could point me in the right direction, that would be appreciated.

(edit: changed example URL for digest RSS feeds)
linkReply

Comments:
[User Picture]From: gargoylemusic
2006-06-04 09:13 pm (UTC)
When I try to use curl via the command line, my authentication fails (does it work for you?)

Might I also need to pass LJ's cookies when requesting the page?
(Reply) (Parent) (Thread)