I'm using the following code for my like button
<fb:like id="facebook-like" href="http://mysite.com/index.php" layout="button_count" width="450" show_faces="false" font=""></fb:like>
Some users have experienced the like button not showing up. Noted in 3.6.17 but observed in other versions. I'm somewhat familier with the firefox iframe bug, but I was currious if anyone has any work arounds for the facebook like button.
If you have add your Facebook into the popup setting but the Like button does not show, it might be one of these reasons: - Your Facebook page has been set with restrictions and it is not a public page. - You entered the wrong link on the app setting.
Go to Settings › General, then click the Share tab. Enable the Facebook Like/Recommend button setting by clicking the “thumb up” Like icon. Then click the settings (...) icon in the upper left of the button.
It's possible that a problem with Firefox is causing Facebook to not function correctly. This could be a missing or corrupt program file, or a problem with the Firefox settings. Download and install the latest version of the program from the official website at mozilla.org.
One of the biggest changes about the new Page design is that it does away with “Likes.” This came about because Likes were misrepresenting a Page's true popularity. Many Facebook users had once “Liked” a Page, but later unfollowed the Page to remove its updates from their News Feed as they outgrew their interest.
Like buttons that are rendered with javascript (<div class="fb-like"/>
and <fb:like/>
) get height=0 if they are initially hidden (display:none
).
To work around this, create the element with javascript after the container is displayed, and then run:
FB.XFBML.parse();
Example:
result.show();
var like_box = $(".fb-like-inactive", result);
like_box.removeClass("fb-like-inactive");
like_box.addClass("fb-like");
FB.XFBML.parse();
This CSS solved it for me
.fb-like span, .fb-like iframe { height:25px!important; width:150px!important}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With