I’m using a listener to get comments ID in the Facebook Social Comments Plugin.
// 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
}
);
};
My problem is that the returned ID is the comments box ID and I want the comment’s ID. How do I get it?
There is a bug regarding this.
It can be found here.
It seems it has been assigned, so you can expect a solution soon.