Topic-icon conflict with facebook comment plugin

Active Subscriptions:

None
10 years 1 month ago - 10 years 1 month ago #58024 by french150
Hi. I use hwmediashare component and its facebook comment plugin to comment videos, but never i saw comments on my site. I asked to their support and after an investigation they replied in this way:


"If I temporarily disable the plugin called System - JFBCSystem then the Facebook comments immediately start to appear under the video, as shown in this screenshot: screencast.com/t/9tCsfbERJFt

Therefore, the issue is related to some kind of conflict with the JFBConnect extension.

We have an option in our Facebook plugin to not load the Facebook SDK. This prevents duplicate loading, and generally prevents conflicts. I've setup that option, but the comments are still not loading.

After more investigation, I have found the cause.

When JFBConnect loads the Facebook SDK, it disables the xfbml. This is the code inserted by JFBConnect:
FB.init({version: 'v2.3',appId: '1803269746561450', status: true, cookie: true, xfbml: false});

Unfortunately, this option needs to be enabled to load the commenting widget.

If you disable JFBConnect and use our plugin to load the comments, then they will work. If you need to keep using JFBConnect, then you'll need to speak to them about this.

It may be they have an option for other developers (such as HWDMediaShare) to enable that required flag during the load and we would be happy to utilize that if available."


So how to solve it?
Best regards
Last edit: 10 years 1 month ago by french150.
The topic has been locked.
Support Specialist
10 years 1 month ago #58029 by alzander
We disable the parsing of XFBML widget tags to speed up pages. We only enable the parsing on pages where we know that tags are placed by JFBConnect, as that can improve overall performance on pages that don't need to load the widgets.

However, we know that many extensions rely on JFBConnect's inclusion of the Facebook library and we have an option in our Configuration area called "Always Parse Tags". When that's enabled, JFBConnect will instruct Facebook to always scan and parse tags it finds on the page.

Enabling that setting should be all you need to do.

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

None
10 years 1 month ago #58035 by french150
Tested and now it works.
Thanks a lot.
Best regards
The topic has been locked.
Support Specialist
10 years 1 month ago #58041 by alzander
Awesome! Glad to hear that helped get you going. If you need anything else, just let us know.

Thanks,
Alex
The topic has been locked.