kfacebook

by rullzer on Mar.11, 2011, under KDE

First of all: Hello Planet KDE!

Last week I read the post by Thomas about Facebook support in KDEPIM. Which is of course awesome to have and is something that has been on my TODO list for some time now. And well since Thomas started it all it is a great way for me to get involved in KDE and to learn how to deal with akonadi.

All my work (be it in separate branches) is already available in the project repository. Thomas will probably try to merge them this weekend but you can of course already check them out for all the new cool stuff.

What did I work on

Notes

I started working on note support, so have your notes on facebook available in akonadi and thus in KJots. And this all works out very nice. One of the side effects is that in facebook you can have images in your notes which is not properly supported in KJots.

After retrieving notes I figured it would be awesome to be able to add, delete and modify notes. Adding a new note or deleting a note turned out to be easy to do, however as far as I know facebook does not allow you (yet?) to modify notes trough the Graph API. Which is to bad since that would make notes support complete.

Event participants

We now have a list of participants attached to events. Also the status of the participant is set correctly (attending, declined etc). Which of course is cool to have. Right now events are still read-only but the API actually allows for setting your RSVP status etc so it would only be “logical” to have support for setting that.

Parallel photo fetch

Up until now all the friends were retrieved and then after that all the photo’s were downloaded one after the other. A simple patch now fires them all off and just waits for them to complete. Which is a lot faster, especially if you have a lot of facebook friends!

Upcoming stuff

There is room for some refactoring which would get rid of some duplicated code and would make extending KFacebook even easier. So I guess that needs to be done first.

Other than that I planet to start working on getting your facebook messages into Akonadi. First only as read-only but hopefully we can soon extend that. Other than that there is more than enough work to do in order to get out a 0.1 release ;)

And now on to some more coding!

:, , ,

14 Comments for this entry

  • David Edmundson

    In KDE Telepathy we make it really easy for a user to setup their facebook account and use it for instant messaging (Facebook chat).

    When this hits your desktop you’ll have a truly fantastic Facebook experience at your desktop.

    Maybe we can work together on designing something so you only need to set your username/password in one place?

  • rullzer

    @David: That sounds awesome could you join us on irc? (#akonadi) or send a mail to kde-pim@kde.org? Since having only to setup stuff once will be a better user experience!

  • Lasath Fernando

    I’m just writing this to say thanks for doing such an amazing thing and building this! (Eventhough I haven’t actually tried it yet).

    I believe that KDE should be very tightly integrated to social networking sites and tried to work on kfacebook myself when I saw it. (But alas, I couldn’t make head or tail of the code – possibly due to my inexperience with Qt/KDE).

    And David, we should probably have some sort of wizard that sets up everything that’s related to facebook in one go.

  • Yuri Chornoivan

    Thank you for your work.

    Can you fix a little typo in /resource/facebookresource.cpp:147?

    cancelTask( i18n( “Unable to syncronize this collection.” ) );

    Should be
    cancelTask( i18n( “Unable to synchronize this collection.” ) );

  • Thomas McGuire

    @Yuri, thanks for spotting the typo, I have committed a fix which I’ll push soonish.

    @Lasath, @David: Yes, we were already thinking about such a wizard, Sebastian Kügler has started a wizard for things like Twitter already, a good idea would be to extend that to add support for Facebook (Akonadi Resource, Telepathy/Kopete)

  • trayga

    Your facebook address ??? can i add you ?

  • Inteligentny Dom

    I have to express thanks to the writer for rescuing me from this particular predicament. Just after browsing throughout the search engines and obtaining advice which were not powerful, I figured my entire life was over. Living without the presence of approaches to the problems you’ve solved by means of your entire post is a serious case, as well as ones that might have in a wrong way damaged my career if I hadn’t discovered your web page. Your actual competence and kindness in touching the whole thing was tremendous. I am not sure what I would have done if I hadn’t come upon such a point like this. I can at this moment look forward to my future. Thanks very much for your reliable and effective guide. I won’t be reluctant to recommend the blog to anybody who needs and wants recommendations about this subject.

  • fred agabashian diesel

    ok why is this significant when raceing nicely noone like’s broken spoke’s and bent rim’s yes if you did not know that loose spokes trigger a big trouble they do anyplace from hole’s in tube’s to bent wheel to broken spokes to total failure and that’s by no means very good plus a spoke wrench is a critical tool to have i know what most people are thinking man you got me shopping for ton’s of tool’s and equipment to race and yes which is what it takes bare bone’s raceing suck’s noone like’s to do it and noone want’s to do it sorry guy’s perhaps a person must call are president and tell him we will need emergency moto grant to serve all motocross racer’s across the country

  • podsłuch telefonu

    I precisely wanted to thank you so much once again. I’m not certain the things that I would have sorted out without the actual strategies provided by you on my subject matter. It previously was a real horrifying difficulty for me, but observing your well-written strategy you solved it took me to weep for fulfillment. I’m just happy for this assistance and in addition wish you know what an amazing job you are always doing teaching the mediocre ones with the aid of your webblog. I know that you have never got to know any of us.

  • Susan Piatt

    Fantastic article.Thanks Again. Will read on…

  • Lloyd Bracco

    Getting followers pretty much always means credibility. I feel like in modern day society that many people are judged by how many follower they have. It’s kind of weird, but true. Whether it be pinterest, twitter, or anything really.

    I manage social media for a medium-sized business and I found a pretty cool website that “sells” followers. There are many websites that do this (surprisingly!) but this particular one has targeted followers too: http://www.mysocialanswer.com

    PS- Just don’t tell your boss you bought the followers :)

  • Kira Disalvatore

    A person essentially lend a hand to make significantly articles I’d state. That is the very first time I frequented your web page and thus far? I amazed with the analysis you made to create this particular submit amazing. Wonderful job!

  • gold jewellery online

    Superb website you have here but I was curious if you knew of any forums that cover the same topics discussed in this article? I’d really love to be a part of community where I can get feed-back from other knowledgeable individuals that share the same interest. If you have any suggestions, please let me know. Thank you!

  • Delorse Toupin

    the second one is the best

1 Trackback or Pingback for this entry

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!