After installing Sharebar I began looking for a Facebook Share button to include, since the Like button wasn't popping up the widget to allow comments and sending to your Facebook page. However, after reading the documentation on the Facebook page for the Like button, it appears that the "share" functionality is now incorporated into the Like button. (https://developers.facebook.com/docs/reference/plugins/like/).

It seems that this functionality should be happening normally, but it's not on my site. I even made sure I was including the "&send=true" parameter in the iframe element. But it still doesn't work.

Comments

ohcray’s picture

Title: Facebook Like Doesn't Popup Widget » Facebook Like Button Doesn't Popup Widget
nmudgal’s picture

Status: Active » Postponed

The reason send button is not working for you or it won't work is due to iframe implementation. This is what fb says when we try to enable send functionality and access iframe code
This plugin does not have an iframe implementation with the selected options. Please use the JavaScript SDK and the HTML5 or XFBML implementations, or change the value of the send parameter.
So, unless I make changes in the architecture, that won't really happen.

Thanks,

moehac’s picture

The pop-up os not working for me either and I have the following implementation:

<div id="fb-root"></div>
<script>
  window.fbAsyncInit = function() {
    // init the FB JS SDK
    FB.init({
      appId        : '184701754961458', // App ID from the App Dashboard
      channelUrl : '//www.saludmedica.com/sites/all/fb/channel.php', // Channel File for x-domain communication
      status       : true, // check the login status upon init?
      cookie      : true, // set sessions cookies to allow your server to access the session?
      xfbml       : true  // parse XFBML tags on this page?
    });

    // Additional initialization code such as adding Event Listeners goes here
  };

  (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 = "//connect.facebook.net/es_LA/all.js#xfbml=1&appId=184701754961458";
    fjs.parentNode.insertBefore(js, fjs);
  }(document, 'script', 'facebook-jssdk'));
</script>
<fb:like send="true" layout="box_count" width="100" show_faces="false"></fb:like>
nmudgal’s picture

Status: Postponed » Active
nmudgal’s picture

Status: Active » Closed (fixed)

Fixed this issue and committed to dev. Also have replaced the default facebook like button with the one that has send functionality as well. If still facing issue, please reopen issue and let me know.

adam_b’s picture

Version: 7.x-1.x-dev » 7.x-1.1
Status: Closed (fixed) » Active
StatusFileSize
new14.93 KB

I'm having the same problem (I think) on 7.x-1.1 - the Facebook link seems to be opening within a div rather than on top of it. See attached screenshot.

nmudgal’s picture

Priority: Major » Normal
StatusFileSize
new54.07 KB

Are you sure you have pulled the latest code or upgraded module to 7.x-1.1 version? As I quickly confirmed it and it seems to be working fine for me (Please see attached screenshot) Have you made any changes to the css of module? Could you share the link where I can see the issue if it is on some live site? Thanks!

adam_b’s picture

StatusFileSize
new14.65 KB

The module is newly installed, it's v7.x-1.1, and I haven't done anything to the module.

I'm clicking on the Like button, whereas it looks as if you're clicking Send. When I click Send, nothing happens - but when I check the console I see a lot of JS security errors (see attachment).

You can see an example at [redacted]

nmudgal’s picture

Oh yes, it was the condition when sharebar isn't displayed in content area. Have put a condition for that as well, would recommend to update to latest dev release. Thanks and let me know if that fixes the issue for you.

adam_b’s picture

Yes - uninstalled, reinstalled, cleared caches and it seems to be OK now thanks.

adam_b’s picture

StatusFileSize
new31.63 KB

However, I notice that I'm still getting lots of JS security errors in the console - see attachment.

mo3taz’s picture

I face Similar Issue but without solution.

islalobo’s picture

I installed the module and it displayed fine. However, all of my content disappeared on the pages where the share bar was present.

zeemc’s picture

I had the same issue, what I did was, under 'display options' uncheck 'Display sharebar in content'
doing this worked for me.. not sure if it doesnt for u

zeemc’s picture

i'm still having the 'facebook not being displayed' issue.. any solutions for this?

alfarider’s picture

Issue summary: View changes

try to use it on server not on localhost

ginmonty’s picture

@zeemc, my Facebook button doesn't display if I'm viewing it logged in to the site, however, shows up fine if I log out. Hope that works for you.

ginmonty’s picture

  • nmudgal committed 86b4426 on 7.x-2.x
    Issue #1782754 by ohcray: Implemented fix for 'Facebook Like Button...
  • nmudgal committed 91ae10f on 7.x-2.x
    Issue #1782754-8 by adam_b: Resolving overflow issue when sharebar isn't...
nmudgal’s picture

Looks fixed to me so closing it for now. Please start separate issue so we don't end up cluttering this one (can mention this issue/particular comment in description while doing so). Thanks!

nmudgal’s picture

Status: Active » Fixed

whoops!

  • nmudgal committed 86b4426 on 8.x-1.x
    Issue #1782754 by ohcray: Implemented fix for 'Facebook Like Button...
  • nmudgal committed 91ae10f on 8.x-1.x
    Issue #1782754-8 by adam_b: Resolving overflow issue when sharebar isn't...

Status: Fixed » Closed (fixed)

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