12-02-2011, 20:42
Witam, mam problem z komentarzami w wtyczce społecznosciowej facebooka, zarejestrowałem strone, dostałem id, zrobiłem tak jak jest w
poleceniu, wygenerowałem kod i dodałem java script sdk ładowanie ale mi nie działa coś jeszcze mam dodać to tego skryptu czy jak?
<div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#appId=201750313175836&xfbml=1">
</script><fb:comments xid="201750313175836" numposts="10" width="425" publish_feed="true"></fb:comments>
<div id="fb-root"></div>
<script>
window.fbAsyncInit = function() {
FB.init({appId: '201750313175836', status: true, cookie: true,
xfbml: true});
};
(function() {
var e = document.createElement('script'); e.async = true;
e.src = document.location.protocol +
'//connect.facebook.net/en_US/all.js';
document.getElementById('fb-root').appendChild(e);
}());
</script>
poleceniu, wygenerowałem kod i dodałem java script sdk ładowanie ale mi nie działa coś jeszcze mam dodać to tego skryptu czy jak?
<div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#appId=201750313175836&xfbml=1">
</script><fb:comments xid="201750313175836" numposts="10" width="425" publish_feed="true"></fb:comments>
<div id="fb-root"></div>
<script>
window.fbAsyncInit = function() {
FB.init({appId: '201750313175836', status: true, cookie: true,
xfbml: true});
};
(function() {
var e = document.createElement('script'); e.async = true;
e.src = document.location.protocol +
'//connect.facebook.net/en_US/all.js';
document.getElementById('fb-root').appendChild(e);
}());
</script>