Hi!

I was using successfully for some time the "Facebook social plugins Module", with "Facebook Comments" and "Like Box" in two Blocks bellow the Content Area.

Since I've installed the "Social Links Module", I was surprised that "Facebook Comments" and "Like Box" vanished.

By trial and error I've found out if I removed the "Facebook Share" (Widget Services) bottom the Facebook Comments and Like Box showed up again.

The "Social Links" "Facebook Like Button" works well with the "Facebook social plugins Module".

So it's "Facebook Share" (Widget Services) that it's doing the damage.

Do you think that could be some duplicated script code from the two modules?

Thank you in advance,
Best Regards,
Ricardo

Comments

TheCrow’s picture

Maybe... if i remember well the function drupal_add_js doesn't avoid the duplication of external js in D6.

You may try to write a custom addon and rework the facebook share widget removing the external js...

BTW, what version of fb_social are you using?

povinho’s picture

Hi,

I'm using Facebook social plugins integration 6.x-2.0-beta4.

I've tried to remove the 'javascript' => array('http://static.ak.fbcdn.net/connect.php/js/FB.Share','facebook_share.js'), at widget_services.module with no luck... I just get an share line.

I've tried only 'javascript' => 'http://static.ak.fbcdn.net/connect.php/js/FB.Share',
I get also only a link and the Facebook Comments and Like Box vanish.

With only 'javascript' => 'http://static.ak.fbcdn.net/connect.php/js/FB.Share',
I get only a link and the Facebook Comments and Like Box show.

But in both option I don't get the Share Button working.

vOOd’s picture

Version: 6.x-2.1 » 7.x-2.1

I'm using the 7.x version and I have the exact same problem.
My likebox isnt loading anymore, and Im getting JS errors telling all.js is not working properly.

TheCrow’s picture

Category: bug » support

The error persist also if copying and pasting the FB Share code directly thus the problem is in FB.share itself when is triggered to render links, i think i can't fix it, btw i am trying some async loading as workaround, wish me luck!

TheCrow’s picture

Version: 7.x-2.1 » master
Status: Active » Fixed

ok i pushed the code, reactivate the service because i changed its id the try, it works at least with the FB Like provided by FB Social.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.