Cryo (cryo) wrote in lj_dev,
Cryo
cryo
lj_dev

checkfriends

I have implemented the checkfriends code in the OS X client, but I have some question as to how the philosophy works.

How does it determine that you've read your friends page? Does it require that the user be logged in or it won't work?

Why does it appear to have new=1 then a few minutes later when I checkfriends again new=0 and I haven't read my friends page?

I notice the behavior on the win32 client is similar and seems to require that to reset the flag that you have to launch a browser from the client... What seems to be the best way to handle this?

The docs elude to stop polling after you receive a new=1, but it doesn't offer a clear way of what is necessary to restart the counter.
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 5 comments