diff --git a/script.js b/script.js
index b87dded..02e5f8d 100644
--- a/script.js
+++ b/script.js
@@ -165,9 +165,17 @@ const updateCarousel = function(slides, posts) {
var newHTML = ` `
newHTML += `
- `
+ `;
+
+ let existingCards = [];
+
for( let i = 0; i < posts.length; i++ ) {
let post = posts[i];
+
+ if (existingCards.includes(post.id) || (!includeReplies && post.in_reply_to_id !== null)) continue;
+
+ existingCards.push(post.id);
+
/*console.log( post.content )*/
if ( i == 0 ) {
newHTML += `
`;