Jump to content

Recommended Posts

Posted

1st , if im not in write section please remove it.

Okay guys i have tried everything but i dont know why is not working, even in https://www.w3schools.com/  the code is working properly , in my website its never shows.

Im trying to add a facebook page like but i cant.

this is the code from https://developers.facebook.com/docs/javascript/quickstart

 

Step 1: Include the JavaScript SDK on your page once, ideally right after the opening body tag.
<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/el_GR/sdk.js#xfbml=1&version=v3.2';
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
Step 3: Place this code wherever you want the plugin to appear on your page.
<div class="fb-page" data-href="https://www.facebook.com/Lineage-2-CarteL-507508712965344/" data-tabs="timeline" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/Lineage-2-CarteL-507508712965344/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/Lineage-2-CarteL-507508712965344/">Lineage 2 CarteL</a></blockquote></div>

 

include the Javascript SDK on your pace once. >>  

 

<script>
  window.fbAsyncInit = function() {
    FB.init({
      appId            : 'your-app-id',
      autoLogAppEvents : true,
      xfbml            : true,
      version          : 'v3.2'
    });
  };

  (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_US/sdk.js";
     fjs.parentNode.insertBefore(js, fjs);
   }(document, 'script', 'facebook-jssdk'));
</script>

So. can any one help me ? 

I can pay you if needed to pass the code for me

Thanks

Guest
This topic is now closed to further replies.
×
×
  • Create New...