Log in

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

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

export comments [Mar. 20th, 2005|06:21 pm]
LiveJournal Client Discussions


[mood |confusedconfused]

i'm trying to get the comment data into a php script, but it's giving me nothing.
the login works fine, but trying to read the export_comments file gives me nothing.

any help would be greatly appreciated

sorry if i've not given enough information, or posted in the wrong place or something


[User Picture]From: njyoder
2005-03-20 08:04 pm (UTC)
I didn't read much of your code, I just stepped in to give a quick hint. PHP has APIs specifically for HTTP requests, using f* functions is superfluous.
(Reply) (Thread)
[User Picture]From: z3p
2005-03-20 08:50 pm (UTC)
As a guess, I'd say that you need to actually log in (i.e. using the webpage), and then send the cookie that LJ gives you along w/ the export_comments,bml request.
(Reply) (Thread)
[User Picture]From: vanbeast
2005-03-20 08:55 pm (UTC)
There's a protocol mode for generating a session.
(Reply) (Parent) (Thread)
[User Picture]From: z3p
2005-03-20 09:08 pm (UTC)
Either way, it needs to get sent with the export_comments request.
(Reply) (Parent) (Thread)
[User Picture]From: vanbeast
2005-03-20 11:35 pm (UTC)
Yup :) Just giving an alternative to ugly HTML scraping and parsing and so forth.
(Reply) (Parent) (Thread)