As I said in my previous blog post, some changes in the Facebook XMPP servers lead to the unmerging of the Facebook contacts that were merged with local contacts in the N900 address book. To fix this problem I wrote the small utility Facebook migrator, now available in Maemo extras-testing, that automatically merges back your contacts. Please remember that extras-testing contains unstable software and mine is not an exception! The source code is available on the Collabora git repositories.
If you have any feedback, please let me know in the comments to this post. The only known issue at the moment is that saving your contacts is quite slow, but I didn’t bother making it fast considering that it’s just a one time operation.
In other news, I noticed that I don’t get an email notification anymore when somebody comments on my blog, but a simple PHP script that uses the
mail() function sends emails correctly. In the logs I don’t see anything useful and I’m sure the notifications are not in the spam folder. Does anybody have any suggestion on how to debug this?
18 thoughts on “Merge back your Facebook contacts”
The Collabora git repo gives me the following error:
403 Forbidden – No such project
There was an error in the git repo, it was not a bare one so it was something like fb-migrator.git/.git.
I fixed it and updated the link immediately, but you probably clicked the link before I fixed it or from a planet.
Try again please 🙂
With your program, I solved the problem.
Thank you very much
It works wonderfully, thanks!
Ciao cervello in fuga! 8)
Grande! Sei troppo il migliore!
Regarding to your issue on wordpress comments, please try this: http://www.callum-macdonald.com/code/wp-mail-smtp/
I was having your same issue and this plug in solve it.
I have simmilar problem. I delete my facebook account and add it again, but in new version of Pingin plugin there is field name “Chat Facebook” instead old “Facebook”. And plugin is downloading all contacts again. I have problem also with some contacts, that there are 2 or more fields “Facebook” with identical numbers under one contact (probably it is from merging). Could you fix it with your script? Thanks
Don’t use the Pidgin plugin for facebook. It’s just a terrible hack that was needed as there was no way to implement cleanly Facebook chat. Now Facebook has an XMPP service, so you should really use that.
Just create a new XMPP account and configure it as explained in http://www.facebook.com/sitetour/chat.php
The only things you need are the username (XXX@chat.facebook,com) and your usual password.
Thank you barisione! It is better.
Now there is only one problem – merge again my 350 fcb contacts … 😀
Am I correct to assume that this will discard the chat history of the merged accounts?
Also, I still have lots of the old pidgin-facebookchat style contacts. Would it be straghtforward to merge those too?
I have downloaded you application but it seems not to be working. It says that there is nothing to do for it as all my contacts are OK, but I do have doubled contacts on my list. I did run harmes again to update them and tried to run your app again with the same results.
Could you please be so kind and help me a bit, will be highly appreciated.
Have a lovely day!
Same problem as Kamil.
A case of bad timing here: the Maemo 5 PR1.2 update brought “official” support for Facebook chat, prompting many people such as myself (and I’m guessing the previous couple of commenters) to switch from using Facebook chat configured as a Jabber account to this new method.
However, once again I’ve been left with duplicate contacts — this time I have one set displayed by Contacts as having Jabber addresses ending @chat.facebook.com — which are now useless — and another set displayed as having Facebook chat addresses (with the Facebook icon etc.).
I suspect it would be a relatively easy task to adapt fb-migrator to cover this new type of merging. If you have a moment, it would be very much appreciated if you could add this feature. (I’d have a go but I don’t even have a build environment yet, so it’d take me a while.)
Thanks for a useful utility!
Comments are closed.