Topic-icon JFBConnect looping issues

Active Subscriptions:

None
12 years 8 months ago #37704 by imnlimited
Refering to: www.sourcecoast.com/forums/jfbconnect/jf...ng-jfbconnect#p34209

We seem to be having a similar issue. Well, we have just gone live and are getting complaints about the Facebook login causing issues. We have had the same complaint from both Mac and PC users and different browsers. Sometimes it loops at the message that you are now logged in with facebook, other times it just flashes the Facebook authorisation window and then nothing further.

I have also switched off AutoLogin for Facebook users.

Just for your info, we have Akeeba Admin Tools Pro. Not sure if I need to exclude or include something specific here...

I have noticed that there are multiple loads on the page of the same Javascript of JFBConnect... and JLinked, etc...
The topic has been locked.
Active Subscriptions:

None
12 years 8 months ago #37708 by imnlimited
Also getting this:

Using Chrome Developer Tools:

Console:
duplicate in.js loaded, any parameters will be ignored - platform.linkedin.com/in.js:5
The topic has been locked.
Support Specialist
12 years 8 months ago #37713 by alzander
Replied by alzander on topic JFBConnect looping issues
I'm not seeing the Javascript errors in the console that you mention. When I try to login with Facebook, I'm seeing the following message:

Error - The specified feature has been temporarily disabled for this application

That message is only shown if I am logged out of Facebook and have to enter my credentials into the popup. If I'm already logged in, the box just goes away and nothing happens. Both are strange results.

The only thing I can guess is that you have some restrictions placed on your Facebook application. Can you go to the Facebook Developer Area and check that:
* Sandbox Mode is Disabled
* There are no geographic restrictions on your app
* There are no age limits on your app
* There are no other restrictions (IP Whitelist, etc)

Autotune should configure everything pretty well, but if you modified some settings int he app, it could have caused a problem.

Again, something strange is happening since you're seeing different Javascript errors. The errors I see are:
Uncaught TypeError: Property '$' of object [object Object] is not a function mega.js:33
Uncaught TypeError: Property '$' of object [object Object] is not a function (index):178
Those may be causing some issues with the Facebook or JFBConnect Javascript, but I really don't think that's the cause.

Let me know if that helps get you started or what you find in your app and we'll gladly keep help investigating.

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

None
12 years 8 months ago #37721 by imnlimited
Thanks for the info... I had the App set to Netherlands... but now took that out. That should not be an issue?

Still waiting for some testing to be completed to see if it is okay.

I have attached some more screenshots.

Then, when I click on the 'LIKE' button inside a content item (jReviews Listing) (same page as in attached screenshots). It works, however it ends up adding a lot of text into the post as a link... Where do I set what it should send or post?
The topic has been locked.
Support Specialist
12 years 8 months ago #37727 by alzander
Replied by alzander on topic JFBConnect looping issues
I've been looking into it and trying to debug. The cause of the problem is that JFBConnect isn't able to set a specific cookie on your site that we need to do. This is set through the browser using Javascript and not on the server side and being sent to the user.

I'm not sure why the cookie can't be set. It could be the cookie check script your using, but we haven't ever seen issues with those types of plugins before. In the Chrome Javascript console, just trying the code below still won't set the cookie:
document.cookie = escape('jfbconnect_permissions_granted') + "=" + escape('email') + "; path=/";
Without being able to set that, I can't login at all. I'm not sure why others are having looping issues or other things, but here's what I'd suggest testing/trying:
* Upgrade to JFBConnect v5.1.2. - You have some Javascript errors showing in your console right now. Those could be interfering with JFBConnect and the v5.1.2 release has an improved jQuery inclusion system to clear up a lot of conflicts
* Try disabling the cookie approval plugin you have, temporarily, to see if that helps.
* In JFBConnect, disable the "Show 'logging in' Popup" setting. That uses jQuery and Bootstrap Javascript and is just one more thing to process during logging in. Less is better right now for diagnosing things.

The good news is that I'm no longer seeing the "This function has been disabled" box, which means the locale change lifted that restriction (I'm in the US).

Thanks,
Alex
The topic has been locked.