Support » Plugin: Advanced AJAX Page Loader » AAPL wont load instagram feed

  • When clicking on the Journal page from the home page (using AAPL) My Instagram feed wont load.

    I have the instafeed.js script in the head of the page and I have added the inline script into reload_code.js:

    	feed = new Instafeed({
    		get: 'user',
    		userId: 'XXXX',
    		clientId: 'XXXXX',
    		accessToken : 'XXXXX',
    		resolution: 'low_resolution',
    		template: '<li class="col-lg-3 col-md-3 col-sm-4 col-xs-12"><a class="animation" href="{{link}}" target="_blank"><img src="{{image}}" /></a> <p>{{caption}}</p></li>',;

    The feed wont load and I can’t figure out why?
    If I refresh the page, the script works fine – it’s only when using AAPL it doesn’t.

    I turned on debug and got this:
    1. Error description: AAPL_data_code is not defined
    2. Error description: AAPL_reload_code is not defined

    What does that mean? How can I resolve? It shows no errors in the console so I’m not sure what’s breaking?

    Also, once I’ve access the page, ajax breaks and the pages load normally (not with ajax) SO, If I access the page again (i.e. click the Journal link again) the feed loads fine – it’s only when using AAPL it wont load and I have no idea why.

    I’ve followed your FAQ and added script to reload_code.js but that doesn’t seem to fix it?

    What am I missing? Is there any documentation anywhere?

  • The topic ‘AAPL wont load instagram feed’ is closed to new replies.