Dneska se zaměřím na to, jak si vložit na blog facebook vašich stránek a jaké máte možnosti zobrazení... Vyzkoušela jsem různé variace, co mě napadly, tak snad si vyberete.
Můj návod.
Kopírovat se zdrojem!
A pár vysvětlivek....
data-width="200" ... díky tomuto si nastavíte šířku
data-height="100" ... díky tomuto si nastavíte výšku
NAZEV-STRANKY... to co máte na facebooku stránky napsané za zavináčem
Widget s příspěvky na zdi
<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/cs_CZ/sdk.js#xfbml=1&version=v2.8";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-page" data-href="https://www.facebook.com/NAZEV-STRANKY/" data-tabs="timeline" data-small-header="true" data-width="200" data-height="100" data-adapt-container-width="true" data-hide-cover="true" data-show-facepile="true"><blockquote cite="https://www.facebook.com/NAZEV-STRANKY/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/NAZEV-STRANKY/">NAZEV-STRANKY</a></blockquote></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/cs_CZ/sdk.js#xfbml=1&version=v2.8";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-page" data-href="https://www.facebook.com/NAZEV-STRANKY/" data-tabs="timeline" data-small-header="false" data-width="200" data-height="100" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="false"><blockquote cite="https://www.facebook.com/NAZEV-STRANKY/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/NAZEV-STRANKY/">NAZEV-STRANKY</a></blockquote></div>
Widget s událostmi na stránce
<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/cs_CZ/sdk.js#xfbml=1&version=v2.8";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-page" data-href="https://www.facebook.com/NAZEV-STRANKY/" data-tabs="events" data-small-header="true" data-adapt-container-width="true" data-width="200" data-height="100" data-hide-cover="true" data-show-facepile="false"><blockquote cite="https://www.facebook.com/NAZEV-STRANKY/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/NAZEV-STRANKY/">NAZEV-STRANKY</a></blockquote></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/cs_CZ/sdk.js#xfbml=1&version=v2.8";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-page" data-href="https://www.facebook.com/NAZEV-STRANKY/" data-tabs="events" data-small-header="false" data-adapt-container-width="true" data-width="200" data-height="100" data-hide-cover="false" data-show-facepile="false"><blockquote cite="https://www.facebook.com/NAZEV-STRANKY/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/NAZEV-STRANKY/">NAZEV-STRANKY</a></blockquote></div>
Widget s odesíláním zpráv
<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/cs_CZ/sdk.js#xfbml=1&version=v2.8";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-page" data-href="https://www.facebook.com/NAZEV-STRANKY/" data-tabs="messages" data-small-header="true" data-width="200" data-height="100" data-adapt-container-width="true" data-hide-cover="true" data-show-facepile="false"><blockquote cite="https://www.facebook.com/NAZEV-STRANKY/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/NAZEV-STRANKY/">NAZEV-STRANKY</a></blockquote></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/cs_CZ/sdk.js#xfbml=1&version=v2.8";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-page" data-href="https://www.facebook.com/NAZEV-STRANKY/" data-tabs="messages" data-small-header="false" data-width="200" data-height="100" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="false"><blockquote cite="https://www.facebook.com/NAZEV-STRANKY/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/NAZEV-STRANKY/">NAZEV-STRANKY</a></blockquote></div>
Další widgety
<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/cs_CZ/sdk.js#xfbml=1&version=v2.8";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-like" data-href="https://www.facebook.com/NAZEV-STRANKY/" data-width="200" data-layout="standard" data-action="like" data-show-faces="false" data-share="false"></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/cs_CZ/sdk.js#xfbml=1&version=v2.8";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-like" data-href="https://www.facebook.com/NAZEV-STRANKY/" data-width="200" data-layout="standard" data-action="like" data-show-faces="false" data-share="true"></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/cs_CZ/sdk.js#xfbml=1&version=v2.8";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-like" data-href="https://www.facebook.com/NAZEV-STRANKY/" data-width="200" data-layout="standard" data-action="like" data-show-faces="true" data-share="true"></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/cs_CZ/sdk.js#xfbml=1&version=v2.8";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-like" data-href="https://www.facebook.com/NAZEV-STRANKY/" data-width="200" data-layout="box_count" data-action="like" data-show-faces="true" data-share="true"></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/cs_CZ/sdk.js#xfbml=1&version=v2.8";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-like" data-href="https://www.facebook.com/NAZEV-STRANKY/" data-width="200" data-layout="box_count" data-action="like" data-show-faces="true" data-share="false"></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/cs_CZ/sdk.js#xfbml=1&version=v2.8";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-like" data-href="https://www.facebook.com/NAZEV-STRANKY/" data-width="200" data-layout="button_count" data-action="like" data-show-faces="true" data-share="true"></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/cs_CZ/sdk.js#xfbml=1&version=v2.8";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-like" data-href="https://www.facebook.com/NAZEV-STRANKY/" data-width="200" data-layout="button_count" data-action="like" data-show-faces="true" data-share="false"></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/cs_CZ/sdk.js#xfbml=1&version=v2.8";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-like" data-href="https://www.facebook.com/NAZEV-STRANKY/" data-width="200" data-layout="button" data-action="like" data-show-faces="true" data-share="true"></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/cs_CZ/sdk.js#xfbml=1&version=v2.8";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-like" data-href="https://www.facebook.com/NAZEV-STRANKY/" data-width="200" data-layout="button" data-action="like" data-show-faces="true" data-share="false"></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/cs_CZ/sdk.js#xfbml=1&version=v2.8";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-page" data-href="https://www.facebook.com/NAZEV-STRANKY/" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/NAZEV-STRANKY/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/NAZEV-STRANKY/">NAZEV-STRANKY</a></blockquote></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/cs_CZ/sdk.js#xfbml=1&version=v2.8";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-page" data-href="https://www.facebook.com/NAZEV-STRANKY/" data-small-header="false" data-adapt-container-width="true" data-hide-cover="true" data-show-facepile="true"><blockquote cite="https://www.facebook.com/NAZEV-STRANKY/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/NAZEV-STRANKY/">NAZEV-STRANKY</a></blockquote></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/cs_CZ/sdk.js#xfbml=1&version=v2.8";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-page" data-href="https://www.facebook.com/NAZEV-STRANKY/" data-small-header="true" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/NAZEV-STRANKY/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/NAZEV-STRANKY/">NAZEV-STRANKY</a></blockquote></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/cs_CZ/sdk.js#xfbml=1&version=v2.8";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-page" data-href="https://www.facebook.com/NAZEV-STRANKY/" data-small-header="true" data-adapt-container-width="true" data-hide-cover="true" data-show-facepile="true"><blockquote cite="https://www.facebook.com/NAZEV-STRANKY/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/NAZEV-STRANKY/">NAZEV-STRANKY</a></blockquote></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/cs_CZ/sdk.js#xfbml=1&version=v2.8";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-page" data-href="https://www.facebook.com/NAZEV-STRANKY/" data-small-header="true" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="false"><blockquote cite="https://www.facebook.com/NAZEV-STRANKY/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/NAZEV-STRANKY/">NAZEV-STRANKY</a></blockquote></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/cs_CZ/sdk.js#xfbml=1&version=v2.8";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-page" data-href="https://www.facebook.com/NAZEV-STRANKY/" data-small-header="true" data-adapt-container-width="true" data-hide-cover="true" data-show-facepile="false"><blockquote cite="https://www.facebook.com/NAZEV-STRANKY/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/NAZEV-STRANKY/">NAZEV-STRANKY</a></blockquote></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/cs_CZ/sdk.js#xfbml=1&version=v2.8";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-page" data-href="https://www.facebook.com/NAZEV-STRANKY/" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="false"><blockquote cite="https://www.facebook.com/NAZEV-STRANKY/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/NAZEV-STRANKY/">NAZEV-STRANKY</a></blockquote></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/cs_CZ/sdk.js#xfbml=1&version=v2.8";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-page" data-href="https://www.facebook.com/NAZEV-STRANKY/" data-small-header="false" data-adapt-container-width="true" data-hide-cover="true" data-show-facepile="false"><blockquote cite="https://www.facebook.com/NAZEV-STRANKY/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/NAZEV-STRANKY/">NAZEV-STRANKY</a></blockquote></div>
Hodil se vám můj návod? Vybrali jste si?
Paráda! Já jsem teda widget již měla, ale nelíbil se mi. Teď mám konečně ten samý, jako mám na fb. Díky moc!!
OdpovědětVymazatjsem rada, ze se hodil :-)
Vymazat