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
1 Trackback or Pingback for this entry
-
kfacebook: Messages & Polishing « rullzer
March 17th, 2011 on 9:55 pm[...] rullzer on Mar.17, 2011, under KDE, Linux So I wrote last week about kfacebook. And well since last week some things have [...]








March 12th, 2011 on 3:24 am
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?
March 12th, 2011 on 9:51 am
@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!
March 12th, 2011 on 10:44 am
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.
March 13th, 2011 on 9:09 am
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.” ) );
March 14th, 2011 on 9:25 pm
@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)
August 10th, 2011 on 6:02 am
Your facebook address ??? can i add you ?
October 15th, 2011 on 9:41 pm
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.
November 2nd, 2011 on 9:16 am
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
December 29th, 2011 on 11:48 pm
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.
January 10th, 2012 on 2:44 pm
Fantastic article.Thanks Again. Will read on…
March 21st, 2012 on 7:01 am
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
April 16th, 2012 on 9:01 am
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!
April 17th, 2012 on 4:46 am
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!
April 24th, 2012 on 5:21 pm
the second one is the best