stevenschobert/instafeed.js

How to get all posts with hashtag. I am using the below code.

webbipinpal opened this issue · 0 comments

var userFeed = new Instafeed({
get: 'tagged',
tagName: 'tagname',
target: "instafeed-container",
resolution: 'low_resolution',
limit:12,
userId:'3333....',
template:'code here',
accessToken: 'number here',
transform: function(item) {
item.timestamp = new Date(item.timestamp).toLocaleString('en-AU', {
month: 'long',
day: 'numeric'
});
return item;
},
filter: function(image) {
return image.tags.indexOf('[tagnam]') >= 0;
}
});
userFeed.run();