I feel as if I have tried everything. I am trying to put a Facebook like button for my page. I followed the instructions several times, getting the code from Facebook developers and pasting into an html box etc. NOTHING shows up when preview or published. I have had NO problems adding LinkedIn and PinIt buttons and both of those work.
Please help.
Here is my page:
HTML Code is: <div class="fb-like" data-href="http://www.carlacoon.com/theglen.html" data-width="48" data-layout="button" data-action="like" data-show-faces="false" data-share="true"></div>
The developer also gave this javascript code, which I'm unsure what to do with. Alternately, I tried placing it in a Script box, the HTML page code in diff. spots, and tried leaving it out altogether.
<div id="fb-root"></div>
<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 = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.0";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
Please help.
Here is my page:
HTML Code is: <div class="fb-like" data-href="http://www.carlacoon.com/theglen.html" data-width="48" data-layout="button" data-action="like" data-show-faces="false" data-share="true"></div>
The developer also gave this javascript code, which I'm unsure what to do with. Alternately, I tried placing it in a Script box, the HTML page code in diff. spots, and tried leaving it out altogether.
<div id="fb-root"></div>
<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 = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.0";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
Comment