I am having trouble with this code:

<!DOCTYPE html>

<html xmlns:fb="http://ogp.me/ns/fb#">

<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/en_US/all.js#xfbml=1";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>


<fb:like href="http://www.MyWebsite.com" send="false" layout="button_count" width="200" show_faces="false" font="verdana"></fb:like>


</body>

</html>

The problem is that when I login and click on the like button, it pops up something and then dissapears. The live page is here: http://www.awsomechat.comuv.com/fb_test.php

Member Avatar
LastMitch

@Djmann1013

Anyone got an answer?

The code you provided is related to javascript!

There's NO php in that code you provided! So that's why noone ask your question in PHP

Then my advice is that you should post this code in the javascript section!