cancel
Showing results for 
Search instead for 
Did you mean: 

instafeed js not showing up

instafeed js not showing up

Hi there,

I want to display images via instafeed.

I added to local.xml:

<action method="addItem"><type>skin_js</type><name>js/instafeed.min.js</name></action>

<action method="addItem"><type>skin_js</type><name>js/simplyscroll.min.js</name></action>

Created a static block with this:

<script type="text/javascript">
var feed = new Instafeed({
clientId: 'XXXXXX',
get: 'user',
target: 'instagram_list',
userId: XXXXXX,
limit: 20,
accessToken: 'XXXXXXX',
resolution: 'low_resolution',
after: function() {
$("#instagram_list").simplyScroll({
speed: 1,
frameRate: 20,
orientation: 'horizontal',
direction: 'forwards',
customClass: 'instagram_scroller'
});

$('#instagram_spinner').remove();
}
});

feed.run();
</script>

<div id="instagram_list" class="simply-scroll-list" style="width:4800px;">
<div id="instagram_spinner"></div>

THEN added:

<block type="cms/block" name="instagram_list" after="list.testimonial">
<action method="setBlockId"><block_id>instafeed</block_id></action>
</block>

in the design xml section in admin.

Nothing is showing up.... any idea what I need to do? The html version I have is working!

1 REPLY

ANY ideas?

I have been trying and trying still no solution....