Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 30th, 2012  |  syntax: None  |  size: 0.96 KB  |  hits: 20  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. facebook page iframe tab - form is not appearing
  2. <Body onLoad="FB.Canvas.setSize({width: 515, height: 1350})"><Div id="fb-root"></div>`
  3.        
  4. <Script src="http://connect.facebook.net/en_US/all.js#xfbml=1″></script>
  5. <Script type="text/javascript">
  6. FB.init({
  7. appId: FB_APP_ID,Status: true,Cookie: true,Xfbml: true
  8. });
  9. window.fbAsyncInit = function().{
  10. fb.canvas.setautoresize();
  11. }
  12. </Script>
  13.        
  14. <script type="text/javascript">
  15.   window.fbAsyncInit = function() {
  16.     FB.init({appId: 'PUT THE APP ID FROM https://developers.facebook.com/apps HERE',
  17.  status: true, cookie: true,
  18.              xfbml: true, oauth: true});
  19.   };
  20.   (function() {
  21.     var e = document.createElement('script'); e.async = true;
  22.     e.src = document.location.protocol +
  23.       '//connect.facebook.net/en_US/all.js';
  24.     document.getElementById('fb-root').appendChild(e);
  25.   }());
  26. </script>
  27. <script type="text/javascript">
  28.         window.fbAsyncInit = function() {
  29.         FB.Canvas.setAutoResize();
  30. }
  31. </script>