Facebook Javascript Library Conflict

Facebook Javascript Library Conflict

Auto-tune reported "Test: Facebook Javascript library inclusion - Fail: Another Facebook extension is installed, including the Facebook Javascript library, and may conflict."

I have the following other Social Media Plugins/Packages installed other than Source Coast:

AcyMailing : share on social networks -      Acyba
Easy Profile - Social Network - JSN Project
Easy Profile - Social Network package - JSN Project
Easy Profile - SocialConnect plugin - JSN Project
Socialnetwork View - JSN Project

Everything is disabled except for the JFBConnect plugins.

Do I need to also un-install some of these plugins to eliminate the conflict?

Do you have experience with these and can suggest which one I can safely enable and which ones I should un-install?

I don't need the EasySocial and JomSocial plugins so I will go ahead and un-install those and see if Autotune is happy after I do that. No made no difference

In the man time, any kind of heads up you can give me will be appreciated.

Edited by: webdevtim - Jan-31-18 19:45:34
webdevtim
T. Michel
useravatar
Offline
244 Posts
Website 
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Facebook Javascript Library Conflict

I can't tell you specifically which extension is adding it, but the code that's causing that warning is:

Code:

<script>(function(d, s, id) {

      var js, fjs = d.getElementsByTagName(s)[0];
      if (d.getElementById(id)) return;
      js = d.createElement(s); js.id = id;
      js.src = 'https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.11';
      fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));</script>

That's being placed directly under the JFBConnect inclusion of a similar bit of Javascript. I don't know which of the above plugins may be adding that, but know what you're looking for should make it easier to disable and check quicker to see if the code goes away. Once you find the extension, see if there's a way to disable inclusion of the Facebook Javascript library.

I hope that helps get you going,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
24016 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Facebook Javascript Library Conflict

Thanks for the lightening fast reply Alex.

I will hunt it down from there. It must be included in one of the plugin -> view  folders. Then I can either uninstall that plugin or look for a setting in the options for that component, or disable the php that generates that script.

Right now everything is working correctly and there are no problem sharing, liking, tweeting or google plusing and no problems logging in using social media accounts, but I am sure it will create a gotcha somewhere down the line.

This is a screen capture of a Facebook Share post and as you can see, there are no issues.

http://webdev.911truthoutreach.org/images/temp/b-mcillvaine-act-share-post.jpg

webdevtim
T. Michel
useravatar
Offline
244 Posts
Website 
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Facebook Javascript Library Conflict

Good luck in your hunt current/smile Glad to hear everything else is going well. Those are good looking posts. Nice to know JFBConnect is doing it's job!

Thanks,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
24016 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Facebook Javascript Library Conflict

Yeh, those posts do look good. JFBConnect is what makes these kinds of posts possible, I don't think the majority of Joomla users realize this.

This is a terrific component Alex. I need to see if I can add new review on the JED again so others can know the advantages that JFBConnect can provide to their site.

Without JFBConnect there would just be generic images, titles and descriptions sent with each post, With JFBConnect, each article, or each piece of content for that matter, can have targeted titles, descriptions and images to go with each click of the "Share" button.

And don't let me forget, you also included a really cool feature that allows the user to select some text and then a little tab pops up that says "Share Quote." Click that and the user can now share a really great looking post along with that selected text, all without having to type or copy and paste anything.

Great component Alex.

webdevtim
T. Michel
useravatar
Offline
244 Posts
Website 
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Facebook Javascript Library Conflict

Wow, you use the JFBCQuote widget? I wasn't sure anyone did. That's awesome to hear. Very good to hear about things that I didn't think got too much use actually being taken advantage of. You made my night current/smile

All the best,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
24016 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Facebook Javascript Library Conflict

Yeh, Using the Share Quote widget, the post comes out looking like the following:

http://webdev.911truthoutreach.org/images/temp/b-mcillvaine-act-share-quote-post.jpg

Really nice work, again, Alex.

webdevtim
T. Michel
useravatar
Offline
244 Posts
Website 
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.
There are 0 guests also viewing this topic
There are 0 users also viewing this topic

Board Info

Board Stats
 
Total Topics:
11613
Total Polls:
0
Total Posts:
48800
Posts today:
17
User Info
 
Total Users:
47658
Newest User:
lszlsz
Members Online:
3
Guests Online:
582

Social Stream
SourceCoast Joomla Social Extensions
Friday, 25 May 2018
JFBConnect 8.0 Coming Soon! Stay tuned.
Refer and Earn

Like our extensions? You're not alone! That's why they're used on tens of thousands of websites. Now you can earn 20% of any sale you refer to SourceCoast.com.

We provide excellent documentation, well laid out sales pages and great support. All you need to do is spread the word and we'll take care of the rest.

Learn About Our Affiliate Program