0
FB의 "좋아요"버튼을 추가하려고하는데 작동하지 않습니다. FB 지침을 따르고, 포럼을 읽었으며, 내가 추가 할 것을 undestand하지 않습니다. FB와 같은 버튼이 작동하지 않습니다.
페이지
은 여기에 있습니다 : http://igive-preprod.herokuapp.com/비중 버튼이 잘 작동합니다.
그리고 내 페이지의 코드 : 당신의 도움에 대한
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<div id="fb-root"></div>
<script>
window.fbAsyncInit = function() {
FB.init({
appId : '<my_key>',
xfbml : true,
version : 'v2.1'
});
};
(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/fr_FR/sdk.js#xfbml=1&appId=<my_key>&version=v2.1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
<div class="fb-like" data-href="http://igive-preprod.herokuapp.com" data-layout="box_count" data-action="like" data-show-faces="true" data-share="true"></div>
</body>
</html>
감사합니다.
에릭