Jump to content

facebook like


Recommended Posts

Hi , im trying to impelement fb likes on site



 <script>  window.fbAsyncInit = function() {    FB.init({      appId      : 'id i recieved',      xfbml      : true,      version    : 'v2.3'    });  };   (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/sdk.js";     fjs.parentNode.insertBefore(js, fjs);   }(document, 'script', 'facebook-jssdk'));</script> <div class="fb-like" data-href="https://developers.facebook.com/docs/plugins/" data-layout="standard" data-action="like" data-show-faces="true" data-share="true"></div> 

but as i do what i do , the button just wont show up , it does not even throw any error. Does anyone have experience with stufflike this?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...