Topic-icon JFBCLogin does not seem to work on mobiles

Active Subscriptions:

None
Hi, I have recently subscribed to and used JFBConnect for my site www.hurricanehogan.com, firstly may I say I really like the product and it seems to do everything I want it to. At the moment I have a fairly major issue though, when any users use the JFBCLogin button from any mobile device their account is not created (implemented using the plugin {JFBCLogin} in an article and it is configured to automatic registration) . What I have seen happen (on an android phone, although I have been told it is the same with iphones) is that the user clicks the Login with facebook button, they then briefly see a blank white popup and then are dropped back to the page they had clicked on the button, no account is created on my site and they are left with the same "Login with facebook" button instead of the logout button.

Is there something I have missed that I need to configure to get the plugin to work on mobiles or could you advise what I need to do to get it working. I have marked this urgent as we have just launched our site and its become a bit of an issue for us.

Many thanks, Kieran
The topic has been locked.
Support Specialist
13 years 7 months ago #27271 by alzander
Kieran,
We haven't heard of that issue before and will have to do some testing. There shouldn't be anything you are required to do on your end, but, if you could, please try a few of the following things:
* Test on this site (which has auto-user creation enabled) and see if your account is properly logged in and account created
* Test on our demo.sourcecoast.com page
* Try using a custom image (instead of the Javascript button) for the login with Facebook button. You can do so with the following tag:
{JFBCLogin link_image=http://yoursite.com/link-to-an-image.jpg}

Let us know how those tests go, and again, we'll be doing some tests of our own. There's no reason mobile login/registration shouldn't work, but we'll have to check with current Facebook bugs, test more on your site and others, and generally see what we can narrow things down to. From a quick check of the HTML on your site, I don't see any issues that would be preventing any types of logins, just so you know.

Thanks,
Alex
The topic has been locked.
Support Specialist
13 years 7 months ago #27272 by alzander
Sorry, I was incorrect about how to insert the custom image login button. We don't have an easy tag for that yet. You need to use the following code:
<a href="javascript:void(0)" onclick="jfbc.login.login_custom();"><img src="http://yoursite.com/link-to-image.jpg" /></a>

Hope that helps!
Alex
The topic has been locked.
Active Subscriptions:

None
Thanks Alex,
* Test on this site (which has auto-user creation enabled) and see if your account is properly logged in and account created
This worked fine on my mobile, and it auto registered me with Sourcecoast
* Test on our demo.sourcecoast.com page
I didn't perform this test as....
* Try using a custom image (instead of the Javascript button) for the login with Facebook button. You can do so with the following tag:
This worked perfectly for me, it worked on my android phone and a couple of users have used iphones and they were also able to register successfully

Thanks for the support and suggestions, I am happy to leave it as it is now but if you have any further suggestions how I could get it to work with the javascript button that would be great

Kieran
The topic has been locked.
Support Specialist
13 years 7 months ago #27295 by alzander
Glad to hear the image option worked. That's known to work around multiple different types of issues with Facebook's Javascript-y button. I'd honestly recommend leaving it that way unless you have reasons not too. The image button loads faster (no Javascript to execute after the page is loaded) and, again, fixes other issues that periodically crop up with the Javascript one.

The reason we added the Image option was for these types of issues. The main drawbacks to it are that you have to 'create' the button and you can't just use a language string for the Login with Facebook text. Additionally, if you have a multi-lingual site, the image will always be in the same language (if there's text).

If none of that applies to you, then the image button is what we'd recommend regardless of whether you have mobile issues or not.

Hope that all explains, but definitely let us know if you run into other issues!

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
Thats great, thanks again Alex. Am more than happy to leave it as it is.

Kieran
The topic has been locked.
Support Specialist
13 years 7 months ago #27305 by alzander
Sounds good. Should you run into anything else, just let us know.

Finally, if you haven't already, please consider leaving a rating and review for JFBConnect, or our support, on the Joomla Extension Directory. It's certainly not required, but very appreciated:
extensions.joomla.org/extensions/social-...ook-integration/7215

Thanks, and good luck,
Alex
The topic has been locked.