Adds Facebook Messenger support to SailfishOS accounts, using the purple-facebook libpurple plugin and the telepathy-haze library. The advantage over the XMPP approach is that messages can be sent and received even if one party is/was offline.
After the installation, go to Settings/Accounts/New Account and add the Facebook Messenger account. As the username, use your Facebook username. As for the password, I have tested it only with an app specific password (can be generated in your Security settings on the Facebook web), so that is the recommended approach. After adding the account, restart your phone and now you can go online with the account.
Heavily inspired by Thaodan's Skype Account plugin.
If you have any other issues, please let me know - I have not tested this much, so install/use only at your own risk. On the other hand, issues will most likely come from the purple-facebook plugin, so it is up to its developers to fix them.
I'm not the author of the purple-facebook library, just a packager, so donations for the plugin should go to those developers. Nevertheless, the packaging also took me quite a lot of time (still being quite an inexperienced packager), so if you like it, then please consider a small donation:
| Attachment | Size | Date |
|---|---|---|
| 6.56 KB | 21/09/2015 - 23:22 | |
| 6.56 KB | 22/09/2015 - 14:11 | |
| 6.56 KB | 23/01/2016 - 12:24 |
0.4 - Minor change - fixed account icon path to accomodate to jolla-ambient -> sailfish-default theme changes in Sailfish 2.0.1.7.
0.3 - Downgraded purple-facebook to version 3d30d24fdbef from 12. August 2015 as a workaround for never-ending notifications. If you cannot upgrade, then please refresh my repo and reinstall both this package and purple-facebook.
0.2 - Replaced custom account icon with the default from Jolla
0.1 - Initial release
Comments
Thaodan
Tue, 10/17/2017 - 07:45
Permalink
Are the sources of this pkg somewhere related?
manchevgeorgi
Mon, 10/16/2017 - 15:31
Permalink
Works after compiling the new purple-facebook, but i guess that the sailish-messages app is not reading the message as before. Some other method is being used by facebook to read messages and i'm keep receiving notifications even if message was 'read'. Any suggestion, someone havin' the sailfish-messages source?
florifreeman
Fri, 07/28/2017 - 11:33
Permalink
2.1.1.23 not working :-(
Klipata
Thu, 11/24/2016 - 22:05
Permalink
After 2.0.5.6 update it is not working :/
Eminem
Sun, 10/23/2016 - 23:52
Permalink
Any update soon?
DarkStarSword
Tue, 10/11/2016 - 08:59
Permalink
This plugin repeatedly causes Facebook to lock my account everytime I am on a mobile data connection (and I've seen a few other reports of this on together.jolla.com) regardless of whether I use an app specific password or not. It works fine on WiFi (presumably because Facebook recognises my fixed IP address), so I suspect that it may not be correctly saving a security token or cookie causing Facebook to continually believe that it is a new unrecognised device.
elastic
Tue, 10/11/2016 - 22:03
Permalink
Confirmed behaviour - it started with SFOS 2.0.2.x - so it might be OS related ...
vige
Thu, 10/06/2016 - 11:26
Permalink
After the 2.0.4.13 (Fiskarsinjoki) update, Facebook Messenger Account can no longer be installed. Installation fails with: "haze-accounts-extensions-facebookmessenger-0.4-1.noarch requires purple-facebook = 1, but this requirement cannot be provided"
elastic
Mon, 10/10/2016 - 19:37
Permalink
purple-facebook requires libpurple-nss 2.10.11 wich requires libfarstream 0.1 which seems not to be available in the repos for SFOS 2.0.4.13 ...
smatkovi
Wed, 08/10/2016 - 16:26
Permalink
since today i cannot log in anymore, maybe here is a hint: the sailfinder/tinder developer says his app also cannot connect due to changes in facebook login process or something like that
247
Thu, 07/28/2016 - 20:30
Permalink
you should update for 2.0.2 now it has been released since is not working anymore for me :)
nodevel
Sun, 07/31/2016 - 23:31
Permalink
Just installed and tested on 2.0.2.48 - works perfectly fine for me. As I mentioned in a previous post, it is very unlikely that a SailfishOS update could break this plugin, since it is quite independent and relies only on the telepathy framework. It is quite likely that this will break once Facebook changes something since we rely on an old version of the purple-facebook library that works with telepathy, so it's quite suprising that hasn't happened (because when it does, I won't be able to do much about it ;-) ).
247
Mon, 08/01/2016 - 11:59
Permalink
unfortunately plugin is not working for me...i can see it in the account list and it's perfectly configured but the status option tell me i have no service using the status option and the people app is not showing any contact at all from there...tried reinstalling the thing but with no luck...any hint?
smatkovi
Wed, 08/17/2016 - 20:27
Permalink
now i deleted the account and added a new one and have the same problem you have
Schturman
Fri, 07/22/2016 - 17:42
Permalink
Hi. Can't install it on 2.0.3.11. Please update package.
nodevel
Sat, 07/23/2016 - 11:36
Permalink
Schturman, thanks for the heads up, but how am I supposed to update the package for a version that hasn't been released yet? I in no way condone hackishly installing releases that are for Jolla's internal use only. It doesn't make any sense to make changes to apps based on experience from pre-alpha releases. Many things may change before 2.0.3.x gets released, but if/when I get such release on my Jolla C, I will check if this thing works.
Regarding i486 support - I am thinking of buying a i486 tablet in the summer. Either way, before i486 support gets into Mer OBS, it's not likely I will be able to build this and test comfortably.
Regarding the library updates - we still rely on an old version of the library. Changes to support telepathy upstream are in the pipeline for purple-facebook, but I haven't seen any progress for months.
tiiagoFernandez
Sat, 06/18/2016 - 20:09
Permalink
Can't get it to work :(
tiiagoFernandez
Sun, 06/19/2016 - 23:39
Permalink
Aparentely started working by itself.
I did nothing besides adding the account multiple times. I used the original username and original password.
After a few days, it started working. I have no clue on what happened tho.
Kimking
Thu, 06/02/2016 - 14:54
Permalink
i got it work with app password even i got error=username &password doesnt match.
after error i just rebooted and putted messenger online. and its works now perfectly.:)
tdriver
Tue, 05/31/2016 - 14:23
Permalink
Hi, how it works? I downloaded this app, create account and I do not see any option to wrote message via this app. I still have to install something to make it work? Thanks
Kimking
Tue, 05/31/2016 - 19:59
Permalink
find one contact from "people" who is on fb, and then upper rigth corner u can see white dot, from there u can find facebook messenger.
tdriver
Wed, 06/01/2016 - 00:01
Permalink
Thank you, many of my contacts are on fb but I cant see white dot in right corner and it seems that contacts in People app are not synchronized with fb. Actually there is no option to synchronize contacts on fb account on Jolla, just calendars, imafes and notification.
Kimking
Wed, 06/01/2016 - 00:47
Permalink
sorry about the dot. Facebook messenger shoud be at the page when u open contact. if the name arent same in fb and ur contact list, u need to link them. u rebooted and putted messenger online?
tdriver
Wed, 06/01/2016 - 13:56
Permalink
Well, still nothning. I tried to write names as well as on fb, rebooted, messenger is active and still no option on contact card. Nevermind, thank you
nodevel
Wed, 06/01/2016 - 15:32
Permalink
Hi, I am sorry if it does not work well. The version of the supporting library we have to use is almost 1 year old and the development is moving forward quite fast, so one day it may stop working altogether.
The reason we use such an old library is that it's the last one that works with SailfishOS. There is an effort to bring back the support, but it is moving quite slowly (if at all).
I could use the newer version without the needed fix, but messages would arrive every few seconds, as the phone would not mark them as read.
codeandcreate
Thu, 05/12/2016 - 09:51
Permalink
it works nicely for me, but i got on every connect a security warning on facebook... and i can't save the application on known applications in fb...
explit
Sun, 04/17/2016 - 12:36
Permalink
Hello NoDevel! Thank you very much for your great work! The FB Messenger 0.4.1 worked without problems for about 2 Month on my Jolla 2.0.1.7 but now i have connection issues. It doesn't connect at all. Sometimes, after i try to make all my IM accounts on Avaiable, it connects for 5sec., i see, who of my contacts is online and it disconencts after 5-6 sec.
Did FB changed something again?
Thanks
Schturman
Tue, 04/26/2016 - 17:52
Permalink
for me it still working ok... I want version for tablet....
explit
Tue, 06/28/2016 - 23:59
Permalink
Any news on tablet version?
Need to compile libpurple-facebook i486?
Schturman
Thu, 03/03/2016 - 01:02
Permalink
Please, create version for tablet. Thanks.
Pages