我正在使用監聽器在Facebook社交評論插件中獲取評論ID。Facebook評論監聽器返回評論的框ID而不是評論的ID
// Additional initialization code here, this is where we listen to events
FB.Event.subscribe('comment.create',
function(response) {
alert('You commented in URL: ' + response.href + 'CommentID: ' + response.commentID);
// do an ajax call to server to store user,commentID,href info if you require
}
);
};
我的問題是,返回的ID是評論框ID,我想要評論的ID。我如何得到它?