<div id="instafeed1" class="instagram-feed" data-userid="3450544574" data-accesstoken="3450544574.1677ed0.7d0725a565914415b40a4953c17bcdc9" data-limit="12" data-resolution="low_resolution"></div>
$('.instagram-feed').each(function() {
var current_div = $(this);
var instagramFeed = new Instafeed({
target: current_div.attr('id'),
get: 'user',
userId: current_div.data('userid'),
accessToken: current_div.data('accesstoken'),
resolution: 'low_resolution',
limit: 9,
template: '',
after: function() {
}
});
instagramFeed.run();
});