Log in

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

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

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


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.

From: ex_kanis722
2004-06-08 06:07 pm (UTC)
wow, thanks for writing that firefox extension. works great in linux; trying it out in windows right now.
(Reply) (Thread)
[User Picture]From: idealisms
2004-06-08 08:31 pm (UTC)
ratatosksv discovered what's wrong. Apparently checkfriends only works for paid users. After an account upgrade everything worked.

Too bad, I guess this extension is only for paid users.
(Reply) (Thread)
[User Picture]From: b0rg
2004-06-09 01:13 pm (UTC)
There is also "fiendof" mode... which can be helpful, but you'd have to buid some data history for each user.

I have another question related to it though.
I'm trying to make a request to "friendof" in browser... Reading the doc from the start I type

and nothing works... Where did I go wrong?
(Reply) (Parent) (Thread)
[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...
there is such a thing as

(Reply) (Parent) (Thread)