Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Step 2: Include the SDK JavaScript on your page once, ideally right after the opening <body> tag.
- <div id="fb-root"></div>
- <script>(function(d, s, id) {
- var js, fjs = d.getElementsByTagName(s)[0];
- if (d.getElementById(id)) return;
- js = d.createElement(s); js.id = id;
- js.src = "//connect.facebook.net/ru_RU/sdk.js#xfbml=1&version=v2.9";
- fjs.parentNode.insertBefore(js, fjs);
- }(document, 'script', 'facebook-jssdk'));</script>
- Шаг 3: разместите этот код там, где вы хотите показать этот плагин на вашей странице.
- <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>
- IFRAME
- <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