facebook like_box not working
hey guys i am trying to add the facebook likebox on my page and nothing is appearing on my page .
now what i did was followed the exact same instructions as given in the facebook screen shot seem below:
but nothing appears in the browser .
i went through a few online tutorials too but nothing seems to help .
now as it stands my code looks as follows :
- <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 = "https://connect.facebook.net/en_GB/sdk.js#xfbml=1&appId=146741733&version=v2.0";
- fjs.parentNode.insertBefore(js, fjs);
- }(document, 'script', 'facebook-jssdk'));</script>
-
- </script>
-
- <div class="fb-like-box" data-href="https://www.facebook.com/CodeChef" data-width="300" data-height="400" data-colorscheme="light" data-show-faces="true" data-header="true" data-stream="false" data-show-border="true"></div>
the above code is inside an empty HTML document. (i have entered a fake id in the above code just for security purpose .)
facebook like_box documentation can be found here.