× Joomla Facebook Connect support forum

Topic-icon Error after loggin with Recognize Devices option

Active Subscriptions:

None
11 years 6 months ago #27242 by nettok
Error after loggin with Recognize Devices option

An unsual error when we loggin with jfbconnect plugin using login with facebook button in different PC.
When we login it's redirected to select Recognize Devices option, after selected recognize devices option it is redirected to broken link www.facebook.com/desktopapp.php?api_key=...&popup=1&error=1#_=_

Attached the screen for references.

Error :
File Attachment:


FB Setting authorized devices:
File Attachment:


Let me how to fix the issue.
The topic has been locked.
Support Specialist
11 years 6 months ago #27251 by alzander
Netwise,
We've honestly never used the recognized devices feature, but I know many users do. We haven't tested with this feature, but will do some testing and let you know what we find.

Is this whenever you try from any 'unauthorized' device? If you then go into Facebook and authorize the device, does the issue go away when you login next?

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

None
11 years 6 months ago - 11 years 1 week ago #27331 by nettok
Hi Alex,

It works fine with a recognized (saved) device, but when logging in from a new unrecognized device, and getting the intermediate step to save or not save the device, it doesn't go anywhere after that. Depending on the browser I get a blank page or an error message as attached above.

Another bug has been reported by our client but we cannot replicate it here. It seems that he cannot see the login with facebook button on the site and only gets an unstyled/unclikable "Login with Facebook" text. I can actually briefly see the same unstyled text here before the button is rendered. I have asked him to test it on your site (www.sourcecoast.com/jfbconnect/ ) and there he can see the blue button fine but clicking it doesn't do anything apparently. It happens in IE8 and latest Firefox. Can you think of any reason why? Browser add-ons, browser security settings, things like that maybe?

Another thing, when we installed the plugin the first time, the js file was not included in the head and we had to add it manually as follow:
<script language="javascript" type="text/javascript" src="<?php echo $this->baseurl; ?>/components/com_jfbconnect/includes/jfbconnect.js?v=424"></script>
However, we are still getting the error below:
File Attachment:

Which look is the same error we where getting at the very beginning.
Could that cause the issues above? How can we fix this?

Looking forward to your response.

Thanks
Last edit: 11 years 1 week ago by alzander.
The topic has been locked.
Support Specialist
11 years 6 months ago #27344 by alzander
We'll have to look more into the supported devices issue. Thank you for the detailed information on the problem.

As for the Login with Facebook button not showing, that's a bug with Facebook's Javascript code that was introduced yesterday. It's in the process of being fixed and should go away soon. There's nothing we can do in JFBConnect to fix that.

Regarding the Javascript errors, JFBConnect will definitely try to insert the our jfbconnect.js file. If it's not being inserted, I can only assume there's something in your template or another plugin that is preventing other Javascript files from loading. The error about 'window.addEvent' not being defined is an indication that the Mootools Javascript library is also not being loaded, so it's not just JFBConnect. You'll need to investigate and fix whatever is preventing these Javascript files from loading as they are definitely causing issues.

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

None
11 years 6 months ago #27523 by nettok
Thanks for your help, we have been able to fix the script error we had and get the plugin to work.
However, the unrecognized device bug still occurs, have you been able to do some testing and find a fix?
The topic has been locked.