Facebook on Kopete, take II
Last week I blogged about Facebook support for Kopete, just after I was able to see my buddies for first time on the screen.
Since then I have made some improvements to message handling and other code cleanups. The code is now available in a git repository at github.
As KDE’s svn trunk is frozen, I will keep it there for now.
You can get packages for openSUSE Factory (version 0.1.2). I gave up trying to build it for openSUSE 11.1, as Kopete API has changed quite a bit. However the package may build on 11.1 plus the KDE 4.2+ repositories. You need libqjson from Flavio Castelli installed (or -devel package if you want to build it).
Roadmap for next 0.1.3:
- Add caching to avoid downloading the pictures every 3 minutes.
- More bugfixes
Roadmap for later:
- Look into adding , searching, and other stuff.
Be aware. This is weeks-old-code. It has not been tested much and has lot of debug messages. Use it if you are a early adopter only.





Spam Poison
I get these errors when I try to load the plugin: kopete(25511)/kdecore (KLibLoader) kde4Factory: The library “/home/lukas/kde-versions/trunk/lib/kde4/kopetefacebook.so” does not offer a qtplugininstance function. kopete(25511)/kdecore (KLibLoader) kde3Factory: The library “/home/lukas/kde-versions/trunk/lib/kde4/kopetefacebook.so” does not offer an “initkopetefacebook” function. kopete(25511)/libkopete Kopete::PluginManager::loadPluginInternal: Loading plugin “kopete_facebook” failed, KServiceTypeTrader reported error: “Es kann kein Dienst gefunden werden, der den Anforderungen entspricht.”
LuHe
25 May 09 at 12:35 am
[...] Read the rest here: Facebook on Kopete, take II at Duncan Mac-Vicar P. [...]
Facebook on Kopete, take II at Duncan Mac-Vicar P. |
25 May 09 at 2:19 am
Hi Duncan, thank you for your work, I hope people forget soon MSN, an IMHO FaceBook is doing this.
BTW, now I’ve seen there is a nice feature of the FaceBook chat: you can set online/offline state by list of friends, so you can be visible only for a kind of friends, it would be great to see this, and this is a good idea also for the other protocols.
Bye.
Aldo "xoen" Giambelluca
25 May 09 at 4:01 am
I understand you’d need KDE Factory packages for openSUSE because of the kopete version. But these are available for 10.3, 11.0, 11.1, and factory: http://download.opensuse.org/repositories/KDE:/KDE4:/Factory:/Desktop/
Shouldn’t that be enough to get it to compile for those openSUSE versions?
Jorge
25 May 09 at 4:09 am
[...] nonostante lo sviluppatore dichiari di non aver testato l’estensione su openSUSE 11.1 a causa di alcuni cambiamenti che hanno [...]
Kopete & Facebook: i primi pacchetti Rpm - Crismon’s Blog
25 May 09 at 7:34 am
Hey Ducan, that it very cool. Is it possible to extend the functionality to the chat function of other social networks? May be studivz.net/ myvz.de could work. They are Germany based facebook clones. Do not know if there chat works similar. But there already other messengers who have implemented it.
Mark
25 May 09 at 8:17 am
Thanks for your work and I would also like to see if the German social networks (f.e studivz.net or meinvz.net (myvz.net) would be supported. The should use the same protocoll because they are made by the same company.
Kavalor
25 May 09 at 1:19 pm
Hi. Is there a way to make these into a debian package? I am unable to compile this due to space constraints but if I could get my hands on a pre-compiled package (even a tgz one) I could install it myself and report on whatever you need to test. By the way, the rpm’s from suse are not compiled against kde4.3 beta. I can unpackage them but the plugin refuses to work. Anyway, so far, great work!
Luis
26 May 09 at 2:18 pm
Hmm, I’d love to try this out (I definitely AM an early adopter, and I’d try it out even if it was 99% likely to fail just to see), but despite the package for Factory installing just fine (I normally run Kubuntu 8.04 on my primary PC, but this is in an openSUSE Factory VirtualBox session) it just simply doesn’t show up in Kopete.
Anyways, regardless of the mysterious inability of the protocol to show up for me, nice work!
Keith Z-G
26 May 09 at 11:27 pm
Ignore my comment above, weirdly after a second restart of the VM the Facebook plugin is showing up fine. And working fine too! Since I’m running Kopete from the terminal I’m having fun seeing all the “we got a message!!!” stuff
Keith Z-G
27 May 09 at 11:29 am
Hi, I would like using it on Ubuntu, is it possible? Thx
paul92
27 May 09 at 5:11 pm
Any Chances for Kubuntu packages? Installation with alien did not work
Mark
27 May 09 at 10:51 pm
Any chances for Kubuntu packages? Alien install did not work?
Mark
27 May 09 at 10:52 pm
I found out that the StudiVZ-chat uses a (unfortunately) modified Jabber-implementation. It is documented here: http://freakazoid.teamblind.de/2009/02/06/wie-das-studivz-zum-pidgin-kam/ http://freakazoid.teamblind.de/2009/02/27/studivz-und-pidgin-teil-2/
Unfortunately in German, but I assume the author konradgraefe@aol.com speaks/ reads english to give help.
There is a wish in the KDE-bug-system here: https://bugs.kde.org/show_bug.cgi?id=176274
Mark
28 May 09 at 10:48 am
Mark : thanks for your answer and sorry for my English, I have tested with alien, but i received an error :
sudo alien -i /home/paul/Téléchargement/kde4-kopete-protocol-facebook-0.1.2-2.1.i586.rpm warning: /home/paul/Téléchargement/kde4-kopete-protocol-facebook-0.1.2-2.1.i586.rpm: Header V3 DSA signature: NOKEY, key ID 4b8b0a41 warning: /home/paul/Téléchargement/kde4-kopete-protocol-facebook-0.1.2-2.1.i586.rpm: Header V3 DSA signature: NOKEY, key ID 4b8b0a41 warning: /home/paul/Téléchargement/kde4-kopete-protocol-facebook-0.1.2-2.1.i586.rpm: Header V3 DSA signature: NOKEY, key ID 4b8b0a41 warning: /home/paul/Téléchargement/kde4-kopete-protocol-facebook-0.1.2-2.1.i586.rpm: Header V3 DSA signature: NOKEY, key ID 4b8b0a41 warning: /home/paul/Téléchargement/kde4-kopete-protocol-facebook-0.1.2-2.1.i586.rpm: Header V3 DSA signature: NOKEY, key ID 4b8b0a41 warning: /home/paul/Téléchargement/kde4-kopete-protocol-facebook-0.1.2-2.1.i586.rpm: Header V3 DSA signature: NOKEY, key ID 4b8b0a41 warning: /home/paul/Téléchargement/kde4-kopete-protocol-facebook-0.1.2-2.1.i586.rpm: Header V3 DSA signature: NOKEY, key ID 4b8b0a41 warning: /home/paul/Téléchargement/kde4-kopete-protocol-facebook-0.1.2-2.1.i586.rpm: Header V3 DSA signature: NOKEY, key ID 4b8b0a41 warning: /home/paul/Téléchargement/kde4-kopete-protocol-facebook-0.1.2-2.1.i586.rpm: Header V3 DSA signature: NOKEY, key ID 4b8b0a41 warning: /home/paul/Téléchargement/kde4-kopete-protocol-facebook-0.1.2-2.1.i586.rpm: Header V3 DSA signature: NOKEY, key ID 4b8b0a41 warning: /home/paul/Téléchargement/kde4-kopete-protocol-facebook-0.1.2-2.1.i586.rpm: Header V3 DSA signature: NOKEY, key ID 4b8b0a41 warning: /home/paul/Téléchargement/kde4-kopete-protocol-facebook-0.1.2-2.1.i586.rpm: Header V3 DSA signature: NOKEY, key ID 4b8b0a41 warning: /home/paul/Téléchargement/kde4-kopete-protocol-facebook-0.1.2-2.1.i586.rpm: Header V3 DSA signature: NOKEY, key ID 4b8b0a41 warning: /home/paul/Téléchargement/kde4-kopete-protocol-facebook-0.1.2-2.1.i586.rpm: Header V3 DSA signature: NOKEY, key ID 4b8b0a41 attention: /home/paul/Téléchargement/kde4-kopete-protocol-facebook-0.1.2-2.1.i586.rpm: Entête V3 DSA signature: NOKEY, key ID 4b8b0a41 warning: /home/paul/Téléchargement/kde4-kopete-protocol-facebook-0.1.2-2.1.i586.rpm: Header V3 DSA signature: NOKEY, key ID 4b8b0a41 Unpacking of ‘/home/paul/Téléchargement/kde4-kopete-protocol-facebook-0.1.2-2.1.i586.rpm’ failed at /usr/share/perl5/Alien/Package/Rpm.pm line 155
I have tested to compile too, if you understand French, you can see this tread : http://forum.ubuntu-fr.org/viewtopic.php?id=320600
Thanks
paul92
30 May 09 at 6:20 pm
Good job. thank you.
Peca
1 Jun 09 at 10:19 am
Hi
I would try this plugin, but i’m a fedora user and i don’t know if I can install the suse rpm in my Fedora 11
Otherwise, can you post the spec file so i can modify it and create a fedora package?
Thank you
Ravic
11 Jun 09 at 3:20 pm
Hi, I would try this plugin, but I’m a Fedora user and I don’t know if i can install a suse rpm in my Fedora 11 system.
Otherwise, can you post the spec file, so i can modify it and create a Fedora suitable package?
Thank you
Ravic
11 Jun 09 at 3:22 pm
I have it running now. Is there a place to report wishes? I start here, but I can put them to the bugs.kde.org later, if it is possible to report there: - Support of showing the status of contacts would be useful - The difference between “online” and “idle” icons could be improved - UserInfo does not react - remove contact: I do not know what this is going to do, therefor I have not tried it. But I fear it could remove someone from the friend list in Facebook itself. There should be the possibility to remove someone from Kopete contactlist from Facebook and not removing the contact from facebook.
Mark
17 Jun 09 at 5:32 am
Another thing I noticed: Facebook contacts are missing the matching IM-Type in Kaddressbook.
Mark
17 Jun 09 at 8:37 am
Kubuntu has added it to their Karmic Koala repositories (along with qjson)and I have seen a bug tracker on launchpad for it. I haven’t played with it yet since I just found out about it this morning and I haven’t been home.
Monty
17 Jun 09 at 1:38 pm
Mark, for now you can use bugs.kde.org I guess. I released something really rough before going into vacation, so I will polish all those edges when I am back, thanks for your feedback!.
duncan
18 Jun 09 at 9:53 am
Hey Duncan, I have now submitted several reports to bugs.kde.org. Hope they are useful.
Mark
29 Jun 09 at 3:29 pm
Ola, just wanted to mention that the username, used to the email but now can be also the username selected by the user itself: I’ve chosen name.surname ant it work, the email does not
francesco.r
6 Aug 09 at 4:50 pm
Hello, thanks for this useful protocol software. It is available for Gentoo Linux at https://bugs.gentoo.org/280153 .
Fabio A. Correa
16 Sep 09 at 2:55 pm
Hello Duncan, I have a problem with Kopete-Facebook. I have set up a firewall, so in spite of having rules to allow kopete-facebook accessing my account, every now an then a contact picture download process may fail and cause Kopete to crash:
error retrieving picture ASSERT failure in QNetworkReplyImpl: “Backend called finished/finishedWithError more than once”, file access/qnetworkreplyimpl.cpp, line 406 KCrash: Application ‘kopete’ crashing…
The line with the problem is facebook/chatservice.cpp:915. So instead of triggering an error every time a download fails, is it possible to do something less drastic? Thanks for your attention.
Fabio A. Correa
16 Sep 09 at 10:40 pm
Thanks for your great job.
I live in Iran and facebook is filtered here after election and we can use it through proxy. Is there any way to implement connecting via proxy for this plugin?
mohi
17 Oct 09 at 11:22 pm
[...] Facebook ([1]) [...]
un Kopete? y mejor si es Chileno :) « Leonardo Bravo's Blog
18 Mar 10 at 3:31 am