maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [M5] [Announce] Facebook Messenger for Pidgin (https://talk.maemo.org/showthread.php?t=100122)

gidzzz 2017-12-30 23:46

[Announce] Facebook Messenger for Pidgin
 
Good news for the people fortunate to still have an N900 but unfortunate to have a dependency on Facebook. I have adapted purple-facebook to work with the ancient library versions we have on Fremantle. The package is currently in extras-devel. Obviously you also need Pidgin.

This is just a port, so before reporting any bugs here, try to make sure that it is not an upstream problem. Currently I am aware of one Maemo-specific bug/inconvenience, which is the limited support for displaying emoji due to them being some exotic UTF glyphs not present in the default Maemo font.

peterleinchen 2017-12-31 12:45

Re: [Announce] Facebook Messenger for Pidgin
 
Wow!
Thanks, even I will not make use of it (and yes, it is fortunate ;)).

sicelo 2017-12-31 17:29

Re: [Announce] Facebook Messenger for Pidgin
 
just tested. it works perfectly!
thanks

marmistrz 2017-12-31 18:40

Re: [Announce] Facebook Messenger for Pidgin
 
Well, facebook disallowing messenger-in-a-browser is a really good argument to convince other people to reach me via other means ;)

branja 2018-01-02 11:37

Re: [Announce] Facebook Messenger for Pidgin
 
Great work!
Is there a way that you can include image sharing?

hdmailx 2018-01-02 19:48

Re: [Announce] Facebook Messenger for Pidgin
 
Very good work!
thank you

gidzzz 2018-01-03 00:12

Re: [Announce] Facebook Messenger for Pidgin
 
Quote:

Originally Posted by branja (Post 1539870)
Is there a way that you can include image sharing?

So far it is only possible to receive images. I wasn't planning to implement any additional features myself, but you can follow the upstream issue at https://github.com/dequis/purple-facebook/issues/133 in hopes that someone will step up.

wicket 2018-01-03 16:21

Re: [Announce] Facebook Messenger for Pidgin
 
Thanks gidzzz! This will be a huge improvement over using the mobile web interface in MicroB. Funnily enough, I was thinking of having a go at building this for the N900 the other day after I found it works well on desktop. Has anyone tried using this together with telepathy-haze? This would eliminate the requirement for Pidgin.

Yes, I shamefully admit that I use Facebook Chat/Messenger. It seems to be the second most used IM tool by the outside world (after WhatsApp which we don't have for the N900). I might have a look at building the Hangouts plugin or Slack plugin which I also hate but which I'm forced to use for work.

gidzzz 2018-01-04 00:23

Re: [Announce] Facebook Messenger for Pidgin
 
Quote:

Originally Posted by wicket (Post 1539912)
Has anyone tried using this together with telepathy-haze? This would eliminate the requirement for Pidgin.

I have not tried it, because I specifically wanted to keep anything Facebook as separately contained as possible. ;) But I'd be interested to hear if it works.

Quote:

Originally Posted by wicket (Post 1539912)
I might have a look at building the Hangouts plugin or Slack plugin which I also hate but which I'm forced to use for work.

I did not bother looking for a dedicated Slack plugin, because their XMPP gateway does the job for me. Although I still have to try to configure Pidgin to reliably show notifications for group chats or check if it behaves any better with IRC.

Koiruus 2018-02-25 01:43

Re: [Announce] Facebook Messenger for Pidgin
 
Works greatly! Just one question: looks like it is not possible to open received pictures to full screen directly from Pidgin. Do the pictures get saved to some location? So is it possible to see them in full size using file manager or gallery app?

sicelo 2018-02-25 12:23

Re: [Announce] Facebook Messenger for Pidgin
 
i haven't received any pictures, but my guess would be somewhere in
Code:

/home/user/.purple/logs/facebook/<username>/ ...
The plugin Telegram stores its pictures in
Code:

/home/user/.purple/telegram-purple/ ...

Koiruus 2018-02-25 13:25

Re: [Announce] Facebook Messenger for Pidgin
 
Quote:

Originally Posted by sicelo (Post 1541586)
i haven't received any pictures, but my guess would be somewhere in
Code:

/home/user/.purple/logs/facebook/<username>/ ...
The plugin Telegram stores its pictures in
Code:

/home/user/.purple/telegram-purple/ ...

Thanks! Would it be possible to see those pictures via gallery app? I tried to make a folder for those pics to home directory, and then symbolic link from pidgin photos to that folder
Code:

mkdir /home/user/MyDocs/Pidgin_pics
ln -s /home/user/.purple/logs/facebook/username/ /home/user/MyDocs/Pidgin_pics

both as user and root, but it says operation not permitted.

sicelo 2018-02-25 14:56

Re: [Announce] Facebook Messenger for Pidgin
 
Yes, it won't be permitted because /home/user/MyDocs is a VFAT partition, and therefore does not support symbolic links.

Did you find the pictures in /home/user/.purple/logs/facebook/username/ ?

Koiruus 2018-02-25 17:34

Re: [Announce] Facebook Messenger for Pidgin
 
Yeah I found them. There is subfolders for each contact, and they contain the pictures as well as some log files. I just can't imagine a way to see them. Hidden folders are hidden (:D) by default in the (default) file manager. So only way to even list those pics is to use terminal. Could I somehow broaden the gallery app to seek for photos from /home/user/.purple/username ? Or make a symbolic link to somewhere else which is already included to gallery app pic folders?

sicelo 2018-02-25 17:52

Re: [Announce] Facebook Messenger for Pidgin
 
do you receive a lot of Facebook pictures haha? :)
maybe make a script that will copy (or even move) them to a directory under MyDocs ... you can use Alarmed to setup a 'cron' job for that. Alternatively, you can make a desktop shortcut for your script and run it on demand ...

Or someone can come up with an idea for a script that will move them immediately they are received ...

Koiruus 2018-02-25 18:54

Re: [Announce] Facebook Messenger for Pidgin
 
Well, not that much :D More from Telegram actually. But sometimes the pictures contain some useful info, which is not readable from the thumbnails in Pidgin conversation window. I'd like to see the photos in fullscreen.

Making a script with desktop shortcut could be a good workaround. I'll investigate that. But, as Pidgin saves the pictures to subfolders named by Pidgin buddy IDs, it sounds difficult to make a script which copies pictures from all these folders. Especially because those folders are made when I start conversation with new buddy (or he starts, whatever). It could work for a while to make a script which just copies all .png and .jpg files from /home/user/.purple/logs/facebook to a folder in MyDocs. But after a while, when the amount of pics is larger, it may get too heavy.

sicelo 2018-03-06 19:45

Re: [Announce] Facebook Messenger for Pidgin
 
@Koiruus, from IRC, here is a more elegant solution -

Code:

21:38 < Vajb> but i have solution for the guy in the forum. Just tell him to  add that imagefolder path to tracker. I did that with telegram and it works well.


All times are GMT. The time now is 10:12.

vBulletin® Version 3.8.8