Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2014
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.92 KB | None | 0 0
  1. <div id="fb-root"></div>
  2.  
  3. <script>
  4.   window.fbAsyncInit = function() {
  5.     FB.init({
  6.       appId      : 'YOUR_APP_ID', // App ID
  7.       status     : true, // check login status
  8.       cookie     : true, // enable cookies to allow the server to access the session
  9.       xfbml      : true  // parse XFBML
  10.     });
  11.  
  12.     // Additional initialization code here
  13.   };
  14.  
  15.   // Load the SDK Asynchronously
  16.   (function(d){
  17.      var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0];
  18.      if (d.getElementById(id)) {return;}
  19.      js = d.createElement('script'); js.id = id; js.async = true;
  20.      js.src = "//connect.facebook.net/th_TH/all.js#xfbml=1";
  21.      ref.parentNode.insertBefore(js, ref);
  22.    }(document));
  23. </script>
  24.  
  25. <div class="fb-like-box" data-href="https://www.facebook.com/pages/ecpenu/124356001077081" data-width="300" data-show-faces="true" data-stream="true" data-height="430"  data-header="true"></div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement