i'm writing a page, right now the page is offline, ie: local directory, but my computer has internet connection, the problem is that i wanted to add the facebook like button for my page copying the code from the fb developers page, but the button doesn't appear, here is the code in a blank page :
<html>
<body>
<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 = "http://ift.tt/1YvoQ9k";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<p> hi! everyone</p>
<div class="fb-like"></div>
</body>
</html>
ps: i also tried to add the +1 google+ button and found the same problem
Aucun commentaire:
Enregistrer un commentaire