Questo è il link della pagina per sviluppatori:
https://developers.facebook.com/docs.../plugins/like/
Ho optato per la modalità XFBML
Questo è il codice che ho implementato:
codice:
<!DOCTYPE HTML>
<html>
<html xmlns:fb="http://ogp.me/ns/fb#">
<title>Title of the document</title>
</head>
<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 = "//connect.facebook.net/it_IT/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
<fb:like send="false" width="200" show_faces="true" font="tahoma"></fb:like>
</body>
</html>
Il problema è che non si vede niente, quel codice non mi funziona!!!!
Sapete il perchè?