Advertisement
Guest User

Untitled

a guest
Jun 27th, 2016
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1.  
  2. Step 2: Include the JavaScript SDK on your page once, ideally right after the opening <body> tag.
  3.  
  4. <div id="fb-root"></div>
  5. <script>(function(d, s, id) {
  6. var js, fjs = d.getElementsByTagName(s)[0];
  7. if (d.getElementById(id)) return;
  8. js = d.createElement(s); js.id = id;
  9. js.src = "//connect.facebook.net/pl_PL/sdk.js#xfbml=1&version=v2.6";
  10. fjs.parentNode.insertBefore(js, fjs);
  11. }(document, 'script', 'facebook-jssdk'));</script>
  12.  
  13. Krok 3: Place this code wherever you want the plugin to appear on your page.
  14.  
  15. <div class="fb-page" data-href="https://www.facebook.com/tinywar/" data-tabs="timeline" data-width="213" data-small-header="true" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/tinywar/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/tinywar/">TinyWar</a></blockquote></div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement