Note that there are some explanatory texts on larger screens.

plurals
  1. POLike button doesn't display on my site
    primarykey
    data
    text
    <p>I'm trying to do some test with the like button of Facebook. I want to add it to my site, but it doesn't display. I'm testing it locally using Mamp for Mac OS. I am adding my code here; could you help me figure out the error? I've been trying with the FB SDK and iframe but they don't display anything.</p> <pre><code>&lt;body&gt; &lt;div id="fb-root"&gt;&lt;/div&gt; &lt;script&gt; window.fbAsyncInit = function() { // init the FB JS SDK FB.init({ appId : '145033796136', // App ID from the app dashboard channelUrl : '//WWW.YOUR_DOMAIN.COM/channel.html', // Channel file for x-domain comms status : true, // Check Facebook Login status xfbml : true // Look for social plugins on the page }); // Additional initialization code such as adding Event Listeners goes here }; // Load the SDK asynchronously (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/en_US/all.js"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); &lt;/script&gt; &lt;h1&gt;Rumba Babylon&lt;/h1&gt; &lt;section&gt; here probably show content &lt;/section&gt; &lt;aside&gt; &lt;h1&gt;SOCIAL PLUGINS&lt;/h1&gt; &lt;div class="fb-like" data-href="https://www.facebook.com/enbodega?fref=ts"data-send="false" data-layout="box_count" data-width="450" data-show-faces="false"&gt;&lt;/div&gt; &lt;/aside&gt; &lt;script src="js/jquery.js"&gt;&lt;/script&gt; &lt;script src="js/main.js"&gt;&lt;/script&gt; &lt;/body&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload