maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [WIP] Friends, a Facebook client, now for Sailfish (https://talk.maemo.org/showthread.php?t=92137)

Sfiet_Konstantin 2013-12-23 19:14

[WIP] Friends, a Facebook client, now for Sailfish
 
4 Attachment(s)
Friends for Sailfish

Friends for Sailfish is a simple Facebook client. After doing some work for Harmattan to bring a decent Facebook client, I decided to continue this work for Sailfish and bringing a nice client for Jolla users.

Friends already provides many features that are expected in a full Facebook client. Some features, like messaging, are not coming (yet ?) because of FB API, and some others, like News feed, is limited, once again because of FB API.

Features
  • A nice and native experience
  • As many features from Facebook as possible
  • An attached menu to make navigation easy
  • Open-source

Follow this threads for updates and new features being added.

Get it

If you want a stable version, get Friends on Jolla Store (when it is ready). For the adventurers, I provide two channels for beta and experimental builds:
  • Stable 1.0.3: store
  • Beta 1.0.3: Openrepos
  • Experimental 1.0.4: OBS
  • Next 1.0.50: OBS

I'm using github to host code and transifex to manage translations.

Bugs, issues
  • Comment system is partly broken: there is no way to browse more comments, and for long comment list, you cannot read all comments.
  • You don't have the number of notifications etc. It is not updated.
  • Some pages (group list, pages list, event list) needs design polish.

If you found yourself blocked with a message "Something wrong happened", you can try to remove the credentials
Code:

rm ~/.config/SfietKonstantin/Friends.conf
and try again. This should not happened anymore with versions >= 0.1.7.

If you find bugs, especially in beta, experimental builds, please reports them in the Forum, with a way to reproduce them. Otherwise, I won't be able to fix them.

Friends integration project

Beside Friends, that is a harbour friendly app, I'm planning to have much more integrated features. I'm introducing another package, that cannot ship in Harbour, that is called "Friends integration".

Those who follow this thread might have heard about it, but it's not about hacking Jolla QML files right now. While I would like to still have patches to contacts etc, I'm leaving this to patchmanager instead, and will focus on something else in Friends integration.

Friends integration will try to blend into Sailfish OS, shipping with a daemon and plugins all around, to make Friends experience better. Right now, I'm working on displaying notifications and opening Friends from the notifications view, but other features will come (share ? accounts integration ? events feed ?)

To try this package, you might need to update to Friends OBS version as well.

Get it

Friends integration is only available in OBS at the moment. Don't try to use the version on OpenRepos, it is badly broken.

I'm using github to host code. Transifex link will come soon.


And sorry for Harmattan users, I don't have my Harmattan devices anymore, and don't develop for it anymore. :(

Makeclick 2013-12-23 21:27

Re: [WIP] Friends, a Facebook client, now for Sailfish
 
Nice!!!! I have been waithing for this! When we get rpm?

Sfiet_Konstantin 2013-12-24 12:00

Re: [WIP] Friends, a Facebook client, now for Sailfish
 
First package uploaded. Be sure to read the warning: nothing works !

Sfiet_Konstantin 2013-12-25 23:19

Re: [WIP] Friends, a Facebook client, now for Sailfish
 
New package updated, feel free to try !

andreas1 2013-12-25 23:53

Re: [WIP] Friends, a Facebook client, now for Sailfish
 
downloaded the package and installed. when i click the icon, cover appears with text 'loading' and then it just closes. app not opening.

edit. ~1.8.1 version opens up :)

kpblxa 2013-12-26 00:00

Re: [WIP] Friends, a Facebook client, now for Sailfish
 
looking good so far

pleasurebd 2013-12-26 13:32

Re: [WIP] Friends, a Facebook client, now for Sailfish
 
Does Sailfish apps can run on MeeGo?

Akkumaru 2013-12-27 06:30

Quote:

Originally Posted by pleasurebd (Post 1400738)
Does Sailfish apps can run on MeeGo?

No, unless ported. Harmattan already has a friends app albeit not completely complete.

Sfiet_Konstantin 2013-12-27 19:15

Re: [WIP] Friends, a Facebook client, now for Sailfish
 
New release again !
Feature list updated

parasemic 2013-12-27 19:36

Re: [WIP] Friends, a Facebook client, now for Sailfish
 
Cool! Works a lot better than last version. Icon would be cool :)

Sfiet_Konstantin 2013-12-27 19:55

Re: [WIP] Friends, a Facebook client, now for Sailfish
 
Quote:

Originally Posted by parasemic (Post 1401169)
Cool! Works a lot better than last version. Icon would be cool :)

Icon is coming. I have two person that might provide an icon to me quite soon.

romu 2013-12-30 13:50

Re: [WIP] Friends, a Facebook client, now for Sailfish
 
Thanks for the app, but why doesn't it use the FB account we can add at the Sailfish OS level?

Vandest 2013-12-30 14:45

Re: [WIP] Friends, a Facebook client, now for Sailfish
 
A pulley menu on the main screen to refresh the homepage

Sfiet_Konstantin 2013-12-30 16:03

Re: [WIP] Friends, a Facebook client, now for Sailfish
 
Quote:

Originally Posted by romu (Post 1402106)
Thanks for the app, but why doesn't it use the FB account we can add at the Sailfish OS level?

Because this one is privileged. I cannot use Jolla's Facebook credentials for my own application. And intergation in accounts is not possible yet.

Quote:

Originally Posted by Vandest (Post 1402121)
A pulley menu on the main screen to refresh the homepage

I'm thinking about it. Needs some technical tweaks.

Sfiet_Konstantin 2014-01-02 14:06

Re: [WIP] Friends, a Facebook client, now for Sailfish
 
One more release. This one went to QA on store !

parasemic 2014-01-02 14:43

Re: [WIP] Friends, a Facebook client, now for Sailfish
 
Good job! How do you like something, though?

Aslo, the feed doesn't show which page/wall did someone post something to but just the posters name, which is rather confusing.

Sfiet_Konstantin 2014-01-02 14:45

Re: [WIP] Friends, a Facebook client, now for Sailfish
 
Quote:

Originally Posted by parasemic (Post 1403042)
Good job! How do you like something, though?

Haha, just found out, that I didn't implement it :D

Quote:

Originally Posted by parasemic (Post 1403042)
Aslo, the feed doesn't show which page/wall did someone post something to but just the posters name, which is rather confusing.

Well, something else I forgot to implement :D

I guess that in 0.1.5 this will be fixed, and I will try to send an updated version as fast as possible to the harbour.

parasemic 2014-01-02 19:42

Re: [WIP] Friends, a Facebook client, now for Sailfish
 
Quote:

Originally Posted by Sfiet_Konstantin (Post 1403044)
Haha, just found out, that I didn't implement it :D



Well, something else I forgot to implement :D

I guess that in 0.1.5 this will be fixed, and I will try to send an updated version as fast as possible to the harbour.

Haha alright :D Excellent job anyway!

castor33650 2014-01-02 20:03

Re: [WIP] Friends, a Facebook client, now for Sailfish
 
Hello,

I can't launch Friends. I have this message :

"Something wrong happened. Check your Internet connection and try again."

I used WiFi and 3G.

Morpog 2014-01-02 20:41

Re: [WIP] Friends, a Facebook client, now for Sailfish
 
Reporting here, as you are offline atm on IRC.
  • Some images in posts (like in News section) are looking very low res.
  • Username in Cover should also have that ambiance colored gradient on background picture where the text is
  • In about is a spelling error "that it can me modified"
  • In about, why does Facebook page open Website instead inside friends?
  • In about Donate link opens a french Paypal site, should open english one
  • Photos section doesn't show anything for myself, but I can see my own albums and pictures in them

Sfiet_Konstantin 2014-01-03 10:22

Re: [WIP] Friends, a Facebook client, now for Sailfish
 
Quote:

Originally Posted by Morpog (Post 1403176)
Reporting here, as you are offline atm on IRC.
  • Some images in posts (like in News section) are looking very low res.

Related to FB API, I can do nothing about it, sorry. Maybe I should change the design a bit, but it is not easy.

Quote:

Originally Posted by Morpog (Post 1403176)
  • Username in Cover should also have that ambiance colored gradient on background picture where the text is

??? The gradient is here to make the label readable when a bright background is used.

Quote:

Originally Posted by Morpog (Post 1403176)
  • In about is a spelling error "that it can me modified"

Thanks, will be fixed.

Quote:

Originally Posted by Morpog (Post 1403176)
  • In about, why does Facebook page open Website instead inside friends?

Friends do not support pages yet. That's why it open web browser. At some point, I will display it inside Friends instead.

Quote:

Originally Posted by Morpog (Post 1403176)
  • In about Donate link opens a french Paypal site, should open english one

Will be fixed at a some point.

Quote:

Originally Posted by Morpog (Post 1403176)
  • Photos section doesn't show anything for myself, but I can see my own albums and pictures in them

Did you have your pictures tagged ? Or maybe you prevented applications from reading your photos.

Morpog 2014-01-03 21:42

Re: [WIP] Friends, a Facebook client, now for Sailfish
 
Quote:

Originally Posted by Sfiet_Konstantin (Post 1403306)
??? The gradient is here to make the label readable when a bright background is used.

Sure, thats why I ask you to add it to the cover too :D

dansocea 2014-01-04 18:23

Re: [WIP] Friends, a Facebook client, now for Sailfish
 
hi!

I have accidentaly installed harbour-friends-debuginfo-0.1.5-1.18.1.armv7hl.rpm instead of harbour-friends-0.1.5-1.18.1.armv7hl.rpm. is there a way to uninstall it since there is no icon shown for it in the launcher?
also just wanted to let you know that after installing harbour-friends-0.1.5-1.18.1.armv7hl.rpm and completing the setup process there is an error stating that there is no internet access and the app never connects to facebook

DrWilken 2014-01-04 18:49

Re: [WIP] Friends, a Facebook client, now for Sailfish
 
Quote:

Originally Posted by dansocea (Post 1403786)
hi!

I have accidentaly installed harbour-friends-debuginfo-0.1.5-1.18.1.armv7hl.rpm instead of harbour-friends-0.1.5-1.18.1.armv7hl.rpm. is there a way to uninstall it since there is no icon shown for it in the launcher?
also just wanted to let you know that after installing harbour-friends-0.1.5-1.18.1.armv7hl.rpm and completing the setup process there is an error stating that there is no internet access and the app never connects to facebook

In Terminal:
Code:

pkcon remove harbour-friends-debuginfo

kpblxa 2014-01-05 11:12

Re: [WIP] Friends, a Facebook client, now for Sailfish
 
can someone publish this build harbour-friends-0.1.5

requiem_76 2014-01-05 11:28

Re: [WIP] Friends, a Facebook client, now for Sailfish
 
I really would like to try your app, but it's impossible to download!!!

mousse04 2014-01-05 13:48

Re: [WIP] Friends, a Facebook client, now for Sailfish
 
Quote:

Originally Posted by kpblxa (Post 1403931)
can someone publish this build harbour-friends-0.1.5

Here is the 0.1.5-1.18.1

http://repo.merproject.org/obs/home:....1.armv7hl.rpm

Sfiet_Konstantin 2014-01-05 20:57

Re: [WIP] Friends, a Facebook client, now for Sailfish
 
Quote:

Originally Posted by Morpog (Post 1403510)
Sure, thats why I ask you to add it to the cover too :D

Alright, will do this. But the cover is just a placeholder right now, I need to improve it :)

Quote:

Originally Posted by dansocea (Post 1403786)
also just wanted to let you know that after installing harbour-friends-0.1.5-1.18.1.armv7hl.rpm and completing the setup process there is an error stating that there is no internet access and the app never connects to facebook

I'm aware of this bug. It is solved in the dev version and will be fixed in 0.1.6 that I will release as soon as possible.

Quote:

Originally Posted by requiem_76 (Post 1403937)
I really would like to try your app, but it's impossible to download!!!

Yes, I have done a silent release, sorry for that. So let's do the proper release now: 0.1.5 is out, with bugfixes and pulldown to refresh feeds !

dansocea 2014-01-05 23:12

Re: [WIP] Friends, a Facebook client, now for Sailfish
 
thank you for the answers as well as for your hard work ;)

Sfiet_Konstantin 2014-01-06 10:33

Re: [WIP] Friends, a Facebook client, now for Sailfish
 
Please welcome Friends on Openrepos.

Rule of thumb for now:
  • OBS repo: rather unstable, have fun with it
  • Openrepos: beta, for testing
  • Harbour: stable

EDIT aaaand an experimental release to OBS: 0.1.6.
Get it here
Testers welcomed.

Juha_L 2014-01-06 13:19

Re: [WIP] Friends, a Facebook client, now for Sailfish
 
Thanks for the app. I just downloaded it from OpenRepos.net and installed in my Jolla.

Some bugs I noticed:

- unable to post anything: "Post something" in the "News" section pulldown menu is not active so there's no way to post anything

- typos in the "Me" section pulldown menu: "Personnal informations"

parasemic 2014-01-06 13:55

Re: [WIP] Friends, a Facebook client, now for Sailfish
 
Links plain text can't be opened.. I'm using 1.6

mousse04 2014-01-06 13:59

Re: [WIP] Friends, a Facebook client, now for Sailfish
 
Quote:

Originally Posted by Juha_L (Post 1404221)
Thanks for the app. I just downloaded it from OpenRepos.net and installed in my Jolla.

Some bugs I noticed:

- unable to post anything: "Post something" in the "News" section pulldown menu is not active so there's no way to post anything

- typos in the "Me" section pulldown menu: "Personnal informations"

"Post something" feature is enabled in the 1.6 on OBS

igor_b 2014-01-06 15:04

Re: [WIP] Friends, a Facebook client, now for Sailfish
 
i tried openrepos (1.5) and 1.6 version and both are showing the following message: "Something wrong happened. Check your Internet connection and try again.". same is for wifi and 3g.

Bubbless 2014-01-06 15:23

Re: [WIP] Friends, a Facebook client, now for Sailfish
 
Quote:

Originally Posted by igor_b (Post 1404256)
i tried openrepos (1.5) and 1.6 version and both are showing the following message: "Something wrong happened. Check your Internet connection and try again.". same is for wifi and 3g.

I got the same message.

Sfiet_Konstantin 2014-01-06 15:43

Re: [WIP] Friends, a Facebook client, now for Sailfish
 
Quote:

Originally Posted by igor_b (Post 1404256)
i tried openrepos (1.5) and 1.6 version and both are showing the following message: "Something wrong happened. Check your Internet connection and try again.". same is for wifi and 3g.

Quote:

Originally Posted by Bubbless (Post 1404264)
I got the same message.

I'm very sad, and thought that this problem was not happening again. Try to relaunch Friends and see if this happens again. If yes, please launch from the terminal (by typing harbour-friends) and send me what's outputted.

Thanks in advance.

Juha_L 2014-01-06 15:58

Re: [WIP] Friends, a Facebook client, now for Sailfish
 
Quote:

Originally Posted by mousse04 (Post 1404231)
"Post something" feature is enabled in the 1.6 on OBS

I'm using SailfishOS and I can only find 0.1.5 (harbour-friends-0.1.5-1.18.1.armv7hl.rpm) in OpenRepos.

EDIT: ok, found 0.1.6 in OBS.

igor_b 2014-01-06 16:00

Re: [WIP] Friends, a Facebook client, now for Sailfish
 
Quote:

Originally Posted by Sfiet_Konstantin (Post 1404270)
If yes, please launch from the terminal (by typing harbour-friends) and send me what's outputted.

Thanks in advance.

here it is:
Code:

[D] QWaylandEglIntegration::QWaylandEglIntegration:58 - Using Wayland-EGL
[D] main:212 - Client id loaded
[W] QQmlImportDatabase::importPlugin:1697 - Module 'Sailfish.Silica' does not contain a module identifier directive - it cannot be protected from external registrations.
[D] MLocalThemeDaemonClient::MLocalThemeDaemonClient:81 - MLocalThemeDaemonClient::MLocalThemeDaemonClient(const QString&, QObject*) Theme:  "jolla-ambient"
[D] MLocalThemeDaemonClient::MLocalThemeDaemonClient:112 - LocalThemeDaemonClient: Looking for assets in ("/usr/share/themes/blanco/meegotouch", "/usr/share/themes/jolla-ambient/meegotouch")
[W] WebKitQmlExperimentalExtensionPlugin::registerTypes:52 -
WARNING: This project is using the experimental QML API extensions for QtWebKit and is therefore tied to a specific QtWebKit release.
WARNING: The experimental API will change from version to version, or even be removed. You have been warned!

DeclarativeCoverWindow: You should be calling QQuickWindow::setDefaultAlphaBuffer(true) before creating windows. Failing to do so will result in suboptimal performance.
DeclarativeCoverWindow: You also won't have cover transparency.
Error: QNetworkReply::UnknownContentError Downloaded data: {"error":{"message":"Error validating access token: Session does not match current stored session. This may be because the user changed the password since the time the session was created or Face
Error: QNetworkReply::UnknownContentError Downloaded data: {"error":{"message":"Error validating access token: Session does not match current stored session. This may be because the user changed the password since the time the session was created or Face

it seems like there is a problem with authentication.. how can i remove current credentials and login again?

Sfiet_Konstantin 2014-01-06 16:03

Re: [WIP] Friends, a Facebook client, now for Sailfish
 
Quote:

Originally Posted by igor_b (Post 1404275)
here it is:
Code:

...
it seems like there is a problem with authentication.. how can i remove current credentials and login again?

Code:

rm ~/.config/SfietKonstantin/Friends.conf

mousse04 2014-01-06 16:05

Re: [WIP] Friends, a Facebook client, now for Sailfish
 
Quote:

Originally Posted by Sfiet_Konstantin (Post 1404276)
Code:

rm ~/.config/SfietKonstantin/Friends.conf

It feels like a new feature is coming : "ability to disconnect" ;)


All times are GMT. The time now is 21:26.

vBulletin® Version 3.8.8