2. Masukkan Kod Berikut Selepas Carian Kod Diatas


/ Published in: HTML
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <div id="fb-root"></div>
  2. window.fbAsyncInit = function() {
  3. FB.init({
  4. appId : 'YOUR APP ID',
  5. status : true, // check login status
  6. cookie : true, // enable cookies to allow the server to access the session
  7. xfbml : true // parse XFBML
  8. });
  9. };
  10.  
  11. (function() {
  12. var e = document.createElement('script');
  13. e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js';
  14. e.async = true;
  15. document.getElementById('fb-root').appendChild(e);
  16. }());

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.