when login to the site using SClogin (and JFBconnect), for example with Facebook, the validation process is being done with the facebook.com website.
when using the site from mobile devices, this can become a problem.
most of our users are coming from mobile devices, and on those mobile devices they are using the App versions of the sites - for example - they are using the Facebook mobile app, and not the facebook.com website.
so normally, the users will not be logged in to facebook/google/etc on their mobile Browser - only on the apps.
this is causing the mobile users trying to login via Facebook, to see the Facebook's login box requesting them for Username & Password.
so (1) the login proccess become as slow as a normal login with a username & password, and (2) some users don't even remeber their passwords to the Facebook, so they are unable to login via mobile devices.
can SClogin validate the user using the Facebook App instead of the facebook.com Website?
it would be best if SClogin would recognize the mobile device and try to validate via the App, but it could also work as a module-setting, since we can show diefferent modules on Mobile and PC devices.
thank you very much
Unfortunately, what you're looking for isn't possible. Mobile devices 'sandbox' each app so that they usually can't talk to each other. So, the Chrome app can't talk directly to the Facebook app to get who is logged in. Chrome can launch the Facebook app, no problem. It just can't communicate with it back and forth. Otherwise, general websites could access any app on your phone and do a lot of 'bad' things.
We'd love it too if the website could launch the Facebook App to authenticate the user, but it's something that Apple/Android and Facebook simply don't have a way that we're aware of to do.
I hope that helps explain, even if it's not what you were looking to hear.
Thank you for explaining, hope it will be possible sometime soon.
a follow up question if i may - i was thinking about this issue not just in the context of login, but also in the context of JFBC's sharing buttons.
the share buttons inside the items open a sharing-screen inside the browser - when the best thing would be to open the relevant app on the user's phone.
if, as you say, "Chrome can launch the Facebook app", could the sharing buttons launch the app with a sharing action and the relevant OG tags?
We'll have to look into the sharing idea further. I believe that may be possible, but unsure. What I'd really recommend is testing on 'major' sites, like CNN, ESPN, MTV or the like and see how their sharing buttons work. If they all open in the browser, and major sites like that haven't found a way to make the browser do what seems like the best option (we agree), that's a good sign that it may just not be possible.
If you do find a site that does what you're looking for, let us know so we can test it out and see what it's actually doing.
thank you very much for looking into this.
i did some research as i was sure i see this all the time, but couldn't remember a specific place.
i found some sites which are implementing this, and i'm attaching links & screenshots.
1. globes.co.il - large israeli news website.
please visit this page from mobile browser: m.globes.co.il/news/m/article.aspx?did=1001190893
as you can see from the attached screenshot - there are sharing buttons for Twitter, Facebook & Watsapp.
the FB button open a sharing dialog in the browser, but Twitter & Watspp both open the mobile app, with the correct OG tags.
by the way, there is also a Joomla Extension called Watsapp Button: https://extensions.joomla.org/extension … pp-button/
i believe it a similare solution that can be used in JFBconnect.
2 - the next example is from te CNN website.
this link: http://edition.cnn.com/2017/06/02/world … index.html
the following image shows the sharing buttons:
the FB button open the browser - not the app.
the Twitter button first opened the browser but then quickly redirected to the App, with the correct OG tags.
the whatsapp button opened the app, with the correct OG tags.
3 - the following page from the TechCrunh website (not app) have sharing buttons for FB, Twitter, Linkedin & Whatsapp.
https://techcrunch.com/2017/06/01/the-d … -promised/
in the following image you see the sharing buttons on the bottom of the screen:
the FB button open the browser, but all the other open the relevat app, with the correct OG tags.
i hope that you would consider adding this to JFBconnect, as this feature is becoming more and more necessery as more and more users are moving to mobile.
thank you very much for the considiration.
Thanks for the links to the other sites. We don't currently support Whatsapp, but it's on our investigation list.
As for the other sites you mention, it sounds like none of them open the Facebook app and instead all open it in a browser tab. If that's the case, it's likely that's the only possibility, though we can investigate more.
Twitter sounds like it can open then app. We'll look into those sites to figure out what they're doing and how they're triggering the app to open to determine what we can do in JFBConnect to prompt the same behavior.
Thanks for sharing. We'll continue to investigate and let you know what we find, but I don't have a timeline on when we may be able to implement something like what you're looking for.
As noted, it's in our investigation list. We definitely like the idea. It's just a matter of figuring out how to do it in a broadly compatible way.
If you do find an example site that works with Facebook, let us know!