Skip to content

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

@webbipinpal

Description

@webbipinpal

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();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions