Topic-icon Login with Facebook button doesn't work. Probably javascript conflict

Active Subscriptions:

None
On my site the button "Login with Facebook" doesn't work on certain page. I think is a conflict with a plugin called ITPFloating share: extensions.joomla.org/extensions/social-web/republish/15678
How to fix this problem?
The topic has been locked.
Support Specialist
Impe,
The Facebook Share button has been deprecated by Facebook, and depending on how the ITPFloating Share is including it, it's likely the cause. When it's used on a page with Facebook's 'newer' Javascript library and features, which JFBConnect requires, it can cause them to break. For more information on it's deprecation, see:
www.sourcecoast.com/jfbconnect/docs/comm...tions#share-conflict

As to how to fix, if you want to post the URL, we can look at the page and see if there's other problems that may be the cause, but likely the Share button in the module is causing the problem. It's also possible/likely the module is re-including the Facebook Javascript library, which we include as well, and having it load twice on the page is causing the problem you're seeing.

Hope this helps give an idea of the issue,
Alex
The topic has been locked.
Active Subscriptions:

None
PM with site link just sent. Thank you Alex
The topic has been locked.
Support Specialist
Impe,
Just looked at your site. It doesn't look to be the Share button in the ITP module (which is good), but it is double-including the Facebook Javascript library.

You'll need to contact the developer or remove the extra inclusion on your own. If you look at the HTML of the page you PM'd me, and search for "all.js", you'll see it twice. You need to remove the 2nd one as well as the div with id="fb-root" right above it.

Once done, that should get you going. Let us know how it goes, or if you need anything else.
Alex
The topic has been locked.
Active Subscriptions:

None
Can you help me to edit files?
Please I really need this modification.
The topic has been locked.
Support Specialist
Impe,
We'll be looking at this over the weekend. Figuring out modifications for other extensions takes some time, since we have to familiarize ourselves with what they're doing. This may also be something you want to ask the other developer about. Mainly, the following question to them may get you a faster response:
"I'm using another Facebook integration extension that loading the Facebook Javascript API as well. Can you help me remove your inclusion of the API file all.js?"

We'll let you know when we have something you can use if you don't hear anything from the developer of the other extension.

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

None
Support forum for ITPFloatingShare seems to be dead. No one answer to my support request... forum.itprism.com/forum/support-forum/it...ingshare-js-conflict
I hope you can help me to fix this issue. Thank you again Alex.
The topic has been locked.
Support Specialist
Impe,
I just looked at their extension, and it looks like there are parameters to do exactly what we need to do. Specifically, you'll want to set the following 2 parameters to "No" in their plugin configuration:
* Facebook Root Div
* Load Facebook JS Library

Once done, hopefully, that will fix you right up.

Let us know how it goes, and good luck,
Alex
The topic has been locked.
Active Subscriptions:

None
Finally it works!! :)
Thank you so much for your patience and support Alex.
The topic has been locked.
Support Specialist
No problem. Glad we got you going, and hope everything is smooth sailing from here.

Finally, please consider leaving a rating and review on the JED for JFBConnect and/or our support. 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.