New myFacebook gadget version

Thursday, March 27, 2008 10:41 AM | Leave a reply »

It seems that not having to login when you start your PC is pretty important to everyone. I've received quite a lot of feedback asking me to change the login model of the Gadget.

So (listening to you) in the new version (available now at Live Gallery) you will have to login just once and after that your session will be persisted even if you shut down your PC. I've also made some improvements on the way the gadget handles no Internet connection (so no JavaScript error messages from now on ;-)).

As for some problems regarding the gadget crashes mentioned earlier, these are not actually crashes. When you have a large number of Data coming down from Facebook the gadget may seem unresponsive but it's actually working, downloading and rendering data. You will have to wait a while (how much depends on the size of your data e.g. number of friends, groups etc.) to get the results rendered.

Unfortunately the Facebook API doesn't support paging, thus all the data have to be downloaded when you issue a request. So there is not much I can do with the downloading part but I can render only a portion of the data, thus saving some time from the rendering. Note that the time saved is actually going to be very small (I believe that you won't even notice the difference) as most of the time is spent for downloading data.

If this is a problem most of you have then I might even consider cutting off the set of data presented on those lists and only show the bare minimum, to make the gadget faster. In the friends list that would mean showing only the names of your friends for example (no photos etc.).

What do you think?


Comments

  1. Re : # re: New myFacebook gadget version

    Yes, this is fantastic =) Very pleased with the change - great work!

    I reckon showing the bare minimum might be best - I actually thought the icons loaded their respective facebook pages (photos, groups, events, friends, notifications) I had no idea they opened up data sets within the app - but that is useful so perhaps a rendering limit would work better with a link to the facebook page for more info at the bottom?

    I didn't think you had to draw all the data from facebook - I think you can put limits in your queries e.g. "SELECT name FROM user WHERE uid=('$uid') LIMIT 0,10" - certainly the API functions Photos.get, Groups.get, Event.get, Notifications.get and Friends.get all have MySQL(FQL) equivilants which you can put limits on.

    Btw, I noticed you've embedded MSN into your blog - since you use Facebook too you might be interested in embedding MSN into your Facebook profile =) If so check out this application I've just launched:

    http://apps.facebook.com/apps/application.php?id=11907492623
  2. Gravatar Peter says:

    Re : # re: New myFacebook gadget version

    Terrible gadget imo.
  3. Gravatar kpantos says:

    Re : # re: New myFacebook gadget version

    Everyone is entitled of his own opinion as long as he's ready to support it with specific arguments.
    I'm uploading this comment this time but I will delete this kind of comments (with no supporting arguments) next time they arrive.
    Sorry, that's the rule.

Leave a Reply



 

Please add 7 and 2 and type the answer here: