?

Log in

No account? Create an account
checkfriends response - LiveJournal Client Discussions — LiveJournal [entries|archive|friends|userinfo]
LiveJournal Client Discussions

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

checkfriends response [Jun. 8th, 2004|04:49 pm]
LiveJournal Client Discussions

lj_clients

[idealisms]
Can someone tell me more about the response from a checkfriends call? In particular, the documentation says that you will get back 4 things (new, interval, count, and total), however the sample return has 3 things (new, interval and lastupdate). What is the real return and what are the possible error messages (e.g., what happens if you poll to fast).

I've written a firefox extensions that checks for friend updates [src], but I've been having a problem with some windows users that don't receive a lastupdate value and have an interval that is very large.
linkReply

Comments:
[User Picture]From: idealisms
2004-06-09 04:20 pm (UTC)
The url to use is actually http://www.livejournal.com/interface/flat. Also, I don't think you can make it work using HTTP GET, you'll probably have to use HTTP POST (for example, you could make an html page that has a form with method='POST').
(Reply) (Parent) (Thread)
[User Picture]From: b0rg
2004-06-09 04:23 pm (UTC)

Yeah :) I figured...

After two hours of cursing and swearing and nearly smashing my monitor...
However...
there is such a thing as
http://www.livejournal.com/misc/fdata.bml?user=b0rg

:-)
(Reply) (Parent) (Thread)