I tried using instafeed.js from http://instafeedjs.com/ to show an instagram feed using a particular hashtag right before the footer on my homepage.
I added the file instafeed.min.js to my default/theme/js
I created a static block called instafeed with the content
<script type="text/javascript">
var feed = new Instafeed({
get: 'tagged',
tagName: 'awesome',
clientId: 'my client ID'
});
feed.run();
</script>
Then to the homepage layout xml I added
<block type="cms/block" name="instagram" after="previous block's name">
<action method="setBlockId"><block_id>instafeed</block_id></action>
</block>
Is this the correct way to integrate?
instafeed.min.js
get included on the page?