Back to Instagram Feed Support

chocolata
chocolata

Hi,

I was reading that the feed would automatically update itself, but this doesn't seem to happen. Only after I specifically clear the file cache do the next items of the feed appear. Am I overlooking something here?

Thanks for your answer.

Kind regards,

Maarten

Darkrogua
Darkrogua

alas, this is due to the fact that you are using the October component along with the layout. and the components are cached, and therefore, to get rid of this, you should use the component only to receive data, and form the appearance of the ribbon on the page

chocolata
chocolata

Hi Darkrogua,

Thanks for your response, but I don't understand completely. I've integrated the component in my footer partial only. How do I proceed to get the required results?

My footer partial looks like this:

[InstaFeedData]
time_update = 30
count_media = 8
==
{% if arInstagramFeedData != [] %}
<div class="c-instagramfeed">
    {% for media in arInstagramFeedData %}
        {% if loop.index <= 8 %}
            {% if media.media_type == 'VIDEO' %}
                {#
                <iframe id="videoPost"
                            title="VideoPost"
                            width="100%"
                            height="100%"
                            autoplay="false"
                            src="{{ media.url }}">
                </iframe>
                #}
            {% else %}
                <a href="{{ media.permalink }}" target="_blank" class="c-instagramfeed__item c-hoverlay__link" title="{{ media.description | escape }}">
                    <figure class="c-instagramfeed__wrap c-hoverlay__wrap" style="background-image: url({{ media.url |     replace({'/var/www/vhosts/domain.be/httpdocs' : ''}) }})">
                        <figcaption class="c-instagramfeed__caption c-hoverlay__caption"><img src="{{     'assets/images/icon_instagram.svg' | theme }}" alt="Instagram" /></figcaption>
                    </figure>
                </a>
            {% endif %}
        {% endif %}
    {% endfor %}
</div>
{% endif %}
chocolata
chocolata

Hi, could you please provide a solution? What do you mean by "and form the appearance of the ribbon on the page"? Can we use a scheduled task with a specific command or something? If the Instagram feed doesn't update, it's of not much use unfortunately. Thank you for looking into this more thoroughly.

Last updated

chocolata
chocolata

Hi, please provide a solution for the feed not updating. We paid for a premium plugin, it should work as advertised!

Darkrogua
Darkrogua

chocolata said:

Hi Darkrogua,

Thanks for your response, but I don't understand completely. I've integrated the component in my footer partial only. How do I proceed to get the required results?

My footer partial looks like this:

[InstaFeedData] time_update = 30 count_media = 8

{% if arInstagramFeedData != [] %} <div class="c-instagramfeed"> {% for media in arInstagramFeedData %} {% if loop.index <= 8 %} {% if media.media_type == 'VIDEO' %} {# <iframe id="videoPost" title="VideoPost" width="100%" height="100%" autoplay="false" src="{{ media.url }}"> </iframe>

}

          {% else %}
               <a href="{{ media.permalink }}" target="_blank" class="c-instagramfeed__item c-hoverlay__link" title="{{ media.description | escape }}">
                   <figure class="c-instagramfeed__wrap c-hoverlay__wrap" style="background-image: url({{ media.url |     replace({'/var/www/vhosts/domain.be/httpdocs' : ''}) }})">
                       <figcaption class="c-instagramfeed__caption c-hoverlay__caption"><img src="{{     'assets/images/icon_instagram.svg' | theme }}" alt="Instagram" /></figcaption>
                   </figure>
               </a>
          {% endif %}
       {% endif %}
  {% endfor %}

</div> {% endif %}

good, the markup is correct, I can only suggest trying the InstaFeedSlider component. As for updates in the feed, it's worth seeing if you've used all the free API requests, because of this, new entries may not be loaded. Also, new entries can be seen in the media files, if they are there, but are not displayed. it means the problem is in the plugin, otherwise it’s with the meta company

chocolata
chocolata

Hi,

Thanks for responding. The feed seems to update well after clicking "Easy ribbon update (no cache clearing)" in the widget in the dashboard. The only other times the feed updates is after clearing the cache.

Couldn't we work with a scheduled task to perform this operation on a schedule?

Last updated

1-7 of 7