Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Facebook connect not working in iphone webapp mode

10 years 4 months ago
  • Karl's Avatar
    Topic Author
  • Karl
  • Offline
  • Fresh Boarder
  • Posts: 66
  • Thank you received: 8
Licenses:
JomSocial Active

I have facebook working fine on my site. It also works fine when site is run in safari on iPhone but if you run in iPhone webapp mode, that is, via an icon on the home screen you get a blank window after the facebook login step.

I'll try look into the issue further but not having a mac it is tricky to debug iPhone issues.

K

10 years 3 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

Hi Karl,

I just tried to register and login via FBC in my iPhone 4, and seems working fine for me.

10 years 3 months ago
  • Karl's Avatar
    Topic Author
  • Karl
  • Offline
  • Fresh Boarder
  • Posts: 66
  • Thank you received: 8
Licenses:
JomSocial Active

If you run in Web app mode though it does not work, either does JFBC connect.
But I did just find a hack to make the JFBC version work.
Please test login with site running in iPhone web app mode, that is add the website to your home screen first, this is different functionality to just opening the site in safari.

see here for tips:
stackoverflow.com/questions/8019798/blan...fb-login-via-web-app

basically I modified jfbconnect.js and added the display : 'touch' option and it worked

i'll try and get it working similarly with your JomSocial login too now.

facebook: function ()
{
FB.login(function (response)
{
if (!jfbc.login.logged_in)
jfbc.login.facebook_onlogin();
else
jfbc.permissions.fetch();
}, {
scope: jfbc.login.scope, display: 'touch'
});
},

The following user(s) said Thank You: Pawel Szewczyk
10 years 3 months ago
  • Karl's Avatar
    Topic Author
  • Karl
  • Offline
  • Fresh Boarder
  • Posts: 66
  • Thank you received: 8
Licenses:
JomSocial Active
10 years 3 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

Hi karl,

Thank you for your information, I really appreciate it

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW