0

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

2
Contributors
3
Replies
5
Views
4 Years
Discussion Span
Last Post by LastMitch
0

@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!

Edited by LastMitch: grammer

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.