Adding comments to Blog app!


#1

trying to add comment to my blog app by retrieving the key from each blog but am getting errors…
Any ideas please!!
var postSnapshot = snapshot.child(“posts”);
snapshot.forEach(function(postSnapshot) {
var key = postSnapshot.key();
console.log(key);
});
});