Topic-icon Nothing happens when Facebook button pressed

Active Subscriptions:

None
10 years 7 months ago #55321 by xbsjason
Hi there,

I purchased the Facebook connect plugin today and autotuned it and whatnot, everything is activated but nothing happens when I press the Facebook button.

You can see what I mean here: codetriad.com

Login is at bottom right.

Any help is appreciated.
The topic has been locked.
Support Specialist
10 years 7 months ago #55329 by alzander
I couldn't find the login button on your site. Could you verify where it is located? Once we can test the problem, it's usually pretty easy to provide a solution to what you describe.

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

None
10 years 7 months ago #55334 by xbsjason
Hi Alex,

It is at the bottom right of the site on the homepage only. Blue login button. Thanks!
The topic has been locked.
Support Specialist
10 years 7 months ago #55337 by alzander
I don't know how I missed that before. Alright, now that I see it, I can see why the button isn't working. The following Javascript is being included on the page, which is re-including the very old Facebook Javascript library:
<script>
window.fbAsyncInit = function() {
FB.init({appId:147151888963700, status: true, cookie: true, xfbml: true});
}; 
(function(d, s, id,debug) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all" + (debug ? "/debug" : "") + ".js";
fjs.parentNode.insertBefore(js, fjs);
}(document, "script", "facebook-jssdk", /*debug*/ false));</script>
That code was deprecated by Facebook more than 2 years ago, is no longer recommended.to be used, and actually conflicts with the new Javascript library from Facebook that we use. You'll need to remove that bit of Javascript. It could be from another plugin or module or even hardcoded into your template. Unfortunately, I can't tell you the specific place it's being included from.

I hope that helps get you started,
Alex
The topic has been locked.
Active Subscriptions:

None
10 years 7 months ago #55341 by xbsjason
Hey Alex,

That was enough to get it working. My theme had an include Facebook SDK option that was supposed to prevent duplicate SDK requests. Thanks for the lead. Really appreciate it.
The topic has been locked.
Support Specialist
10 years 7 months ago #55348 by alzander
I'm glad to hear we could help narrow things down for you. If you need 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/extensi...l-display/jfbconnect

Thanks,
Alex
The topic has been locked.