I would like to exclude certain posts from the Instafeed. Either by tag or by some post ID. I know how to apply a filter that only lets pass images specified by tag:
filter: function(image) {
console.log(image);
return image.tags.indexOf('thisTagPasses') >= 0;
}
However, I have no idea how to exclude/skip certain images. Any ideas?
Just use the
filter()function like so: