I am trying to add a facebook button like on a web page. I took the exact code from https://developers.facebook.com/docs/reference/plugins/like/ , but still a similar button does not appear at all. I tried all three versions of HTML5, XFBML and IFRAME, but none of them worked. I tried to run the code in chrome firefox and even in Internet Explorer, but it works in any. My browser does not have the extension for facebook, etc. Please tell me what I'm doing wrong ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:fb="http://ogp.me/ns/fb#">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</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/en_US/all.js#xfbml=1&appId=***appId***";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-like" data-href="http://live2.cricbuzz.com/live/scorecard/11200/Mumbai-v-Delhi" data-send="false" data-layout="button_count" data-width="50" data-show-faces="false" data-colorscheme="dark" data-font="verdana"></div>
</body>
</html>
Iv put my appId in the appropriate place ...
... http://jsfiddle.net/dmcs/HS5Lp/1/...
, .. ...
- > : ://connect.facebook.net/en_US/all.js#xfbml=1& appId = 113830492072210
, ... , , .