?

Log in

No account? Create an account
Two issues with the response to my checkfriends mode call - LiveJournal Client Discussions [entries|archive|friends|userinfo]
LiveJournal Client Discussions

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

Two issues with the response to my checkfriends mode call [Oct. 20th, 2003|02:50 pm]
LiveJournal Client Discussions
lj_clients
[phixus]
[mood |confusedconfused]

I added support for the 'checkfriends' mode call to the LJ client I wrote. I am really confused about two of the paramaters that I get back from LJ.

1. The 'lastupdate' param came back blank. I was under the impression that I was supposed to be getting back some token that I would pass in with my next 'checkfriends' call so that it could apply the proper deltas to the response.

2. The 'interval' param that I got back was 36000. Now the documentation says that the interval is measured in seconds so this is 10 hours. I really am not supposed to do a 'checkfriends' more than every 10 hours? That just doesn't seem right.

Any insight greatly appreciated.
linkReply

Comments:
[User Picture]From: dottey
2003-10-20 06:36 pm (UTC)
checkfriends is disabled for free users.

(And I believe, thus, it is telling you to not check again for 36000 seconds - or 10 hours).
(Reply) (Thread)
[User Picture]From: pyran
2003-10-20 07:08 pm (UTC)
Is it actually disabled? Or just rendered hopelessly useless?

For that matter, why not just do away with it entirely? It'd clear up confusion, and it's been disabled for so long that it may as well not even exist at all.
(Reply) (Parent) (Thread)
[User Picture]From: kumokasumi
2003-10-20 07:17 pm (UTC)
actually disabled, i believe.

and it works perfectly well for me and other paid users.

blame everything on semagic, i think.
(Reply) (Parent) (Thread)
[User Picture]From: dottey
2003-10-20 07:26 pm (UTC)
I think its been working fine in Semagic for awhile now...

The Semagic client did have some problems with it at one point, but its been fixed in later versions.

I just believe the large number of free users was also causing strain on the LJ servers when using checkfriends every minute (or however often it checks by default) so the LJ admins decided to leave it disabled for free users.
(Reply) (Parent) (Thread)
[User Picture]From: kumokasumi
2003-10-20 08:27 pm (UTC)
IIRC... The LJ servers tell you how often to check, there's not a by-default value. semagic ignored that value, and boom. I could be lying.
(Reply) (Parent) (Thread)
[User Picture]From: dottey
2003-10-20 07:21 pm (UTC)
(Excuse the typos in the comment I deleted.)

I guess, in actuality, it is rendered hopelessly useless - again for free users.

It is kept because it is used by paid users in the way it was intended.

(The interval returned for paid users is far more reasonable, but I'm not exactly sure what it is.)
(Reply) (Parent) (Thread)
From: ex_snej373
2003-10-20 07:55 pm (UTC)
About five minutes, I think.

Another reason to support LiveJournal and get a paid account. It's so worth it.
(Reply) (Parent) (Thread)
[User Picture]From: quirrc
2003-10-20 10:50 pm (UTC)
that's LochJournal which doesn't work. i've checked interval and it's 120 seconds for paid users. you can check it yourself logging in test
(Reply) (Thread)