Skip to content

Instantly share code, notes, and snippets.

@fronteer-kr
Last active August 29, 2015 14:27
Show Gist options
  • Save fronteer-kr/0464934d260257cbf626 to your computer and use it in GitHub Desktop.
Save fronteer-kr/0464934d260257cbf626 to your computer and use it in GitHub Desktop.
Facebook 댓글 등록시...알림 처리등
window.fbAsyncInit = function() {
FB.init({
appId : 'YOUR APP ID',
xfbml : true,
version : 'v2.4'
});
FB.Event.subscribe('comment.create', function(response){
// 여기에 코드 추가
console.log(response);
// $.ajax(....);
});
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment