'Like'액션이 콜백 기능과 통합되어있는 Facebook 'Like'버튼을 통합하려고합니다. 'Like'활동이 Facebook에 나타나지 않는 것을 제외하면 일하는 것 같습니다.페이스 북의 "Like"버튼을 콜백과 통합 - 활동에 표시하지 않음
내 Facebook 계정으로 테스트 중이며 피드, 프로필 페이지 또는 활동 로그에 해당 활동이 표시되지 않습니다.
<script src=\"http://connect.facebook.net/en_US/all.js\" type=\"text/javascript\"></script>
<script>
window.fbAsyncInit = function() {
// init the FB JS SDK
FB.init({
appId : 'xxxxxx', // App ID from the App Dashboard
status : true, // check the login status upon init?
cookie : true, // set sessions cookies to allow your server to access the session?
xfbml : true // parse XFBML tags on this page?
});
FB.Canvas.setAutoResize();
};
</script>
<div class=\"fb-like\" data-href=\"$share_url\" data-send=\"false\" data-layout=\"box_count\" data-width=\"50\" data-show-faces=\"false\"></div>
// facebook callback
FB.Event.subscribe('edge.create', function(href, widget) {
deliverEmail();
});