?

Log in

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

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

checkfriends mode [Jul. 18th, 2004|06:42 am]
LiveJournal Client Discussions

lj_clients

[anne78]
[mood |confusedconfused]

Hi, I am developing a new LJ client (currently named "LiveJournalXP") in C# for the Win32 platform. Development is going well I have most basic functionality implemented (I am using it to send this post!).

The issue I have at the moment is that I am adding the timer to check for friends updates using the checkfriends mode of the protocol. However, the return I get seems rather strange. I get no value back for lastupdate and the delay interval returned is 36000 seconds, am I really only supposed to be checking for friends updates every 10 hours! 10 minutes I could understand. I have yet to actually see a value of 1 to be returned in new yet either, even though there have been journal updates.

Is this functionality broken in the protocol atm? If so I might look at implementing it another way (perhaps d/ling the RSS feeds for all the users friends and doing some manipulation myself).

Any help anyone can give me would be much appreciated.

I should also have an early alpha build of my client soon. I will post a link to it once I feel it is ready.
linkReply

Comments:
[User Picture]From: idealisms
2004-07-17 10:54 pm (UTC)
It's a paid account feature. Mentioned here and originally here.
(Reply) (Thread)
[User Picture]From: marksmith
2004-07-17 10:56 pm (UTC)
Welcome to the world of client development! A few notes:

1. Please be sure to read http://www.livejournal.com/bots/.
2. Also read http://www.livejournal.com/community/lj_dev/644704.html.
3. checkfriends is not enabled for free users.

Feel free to post any questions you might have. Good luck!
(Reply) (Thread)
From: snej
2004-07-17 11:21 pm (UTC)
checkfriends used to work for all users, then turned into a paid-account feature back when site performance sucked. Since site performance doesn't suck any more (well, for at least the last few days) couldn't it be re-enabled for all users?

(Anyway, my hunch is that checkfriends saves load on the servers, since it helps users avoid reloading their Friends pages so often.)
(Reply) (Parent) (Thread)
[User Picture]From: anne78
2004-07-17 11:35 pm (UTC)
Ah! That explains that then!

I guess the next question should be, what is the best way to determin if a user is a paid user? Is it a good assumption to make that if lonin returns fastserver then the user is a paid user and can checkfriends?

Also thanks for that welcome :)
(Reply) (Parent) (Thread)
[User Picture]From: xb95
2004-07-18 12:01 am (UTC)
Being that all sites do things differently (between LJ and DJ and uJ and Plogs.net etc), you probably just want to try checkfriends, and if it returns an obscenely high value, tell the user they can't use it? Dunno.
(Reply) (Parent) (Thread)