Advertisement
vladcrown111

Untitled

Apr 23rd, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. Step 2: Include the SDK JavaScript on your page once, ideally right after the opening <body> tag.
  2.  
  3. <div id="fb-root"></div>
  4. <script>(function(d, s, id) {
  5. var js, fjs = d.getElementsByTagName(s)[0];
  6. if (d.getElementById(id)) return;
  7. js = d.createElement(s); js.id = id;
  8. js.src = "//connect.facebook.net/ru_RU/sdk.js#xfbml=1&version=v2.9";
  9. fjs.parentNode.insertBefore(js, fjs);
  10. }(document, 'script', 'facebook-jssdk'));</script>
  11.  
  12. Шаг 3: разместите этот код там, где вы хотите показать этот плагин на вашей странице.
  13.  
  14. <div class="fb-page" data-href="https://www.facebook.com/instalexpro/" data-tabs="timeline" data-width="556" data-height="290" data-small-header="true" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/instalexpro/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/instalexpro/">Instalex.pro</a></blockquote></div>
  15.  
  16. IFRAME
  17.  
  18. <iframe src="https://www.facebook.com/plugins/page.php?href=https%3A%2F%2Fwww.facebook.com%2Finstalexpro%2F&tabs=timeline&width=556&height=290&small_header=true&adapt_container_width=true&hide_cover=false&show_facepile=true&appId" width="556" height="290" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowTransparency="true"></iframe>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement