It works for me:
var feed = new Instafeed({ clientId: '***********', get: 'tagged', tagName: 'food', resolution: 'standard_resolution', sortBy: 'most-recent', limit: 60, template: '<li class="square-insta"><a href="{{link}}"><img src="{{image}}" /></a></li>', after: function() { $( '#ri-grid' ).gridrotator( { rows : 4, columns : 5, animType : 'fadeInOut', animSpeed : 1000, interval : 600, step : 1, w320 : { rows : 3, columns : 4 }, w240 : { rows : 3, columns : 4 } } ); }});feed.run();
And your HTML:
<section class="instagram ri-grid ri-grid-size-2" id="ri-grid"><ul id="instafeed"></ul></section>