codemonauts / craft-instagram-feed

Craft CMS plugin to receive Instragram feed data as variable in templates
MIT License
27 stars 7 forks source link

Plugin seems to have stopped working #67

Closed vandres closed 1 year ago

vandres commented 1 year ago

Describe the bug:

We use this plugin for a while. You've generously provided us proxy access. Lately we don't get any new Instagram posts and requesting the feed no longer consists of an asset property (only the cached ones). We use a volume to save the result.

Steps to reproduce:

  1. Configure a volume
  2. Use "event.core" as handle
  3. See the code below
  4. Result: No Instagram items are displayed

Where is it happening?

What are you requesting: Username: event.core

Config file:

return [
    'proxyKey' => '9fPfJXXXXXXXXX',
    'useProxy' => true,
    'timeout' => 10,
];

Software versions: Plugin Version: 1.2.0 PHP Version: 8.0.24 CraftCMS Version: 3.7.63.1

Code

{% set handle = global.instagram %}
{% if handle %}
    {% set items = craft.instagram.getFeed(handle) %}
    {% if items %}
        <div class="instagram-container">
            {% for item in items | slice(0, 6) %}
                {% if item.asset is defined %}
                    <a class="instagram {{ item.isVideo ? 'video' : '' }}" href="https://www.instagram.com/p/{{ item.shortcode }}/" target="_blank" rel="noopener noreferrer">
                        {% include 'laser/_includes/_fields/image' with {'image': item.asset, 'manipulation': 'instagram'} %}
                    </a>
                {% endif %}
            {% endfor %}
        </div>
    {% endif %}
{% endif %}
fleaz commented 1 year ago

Hey,

from what I can see, the account "event.core" was new to the proxy and requested for the first time. We had a small problem with new accounts but from what I can see it should be resolved now and I already saw valid requests against the account "event.core".

Can you confirm that it's working now?

Sorry for the inconvenience, Felix

vandres commented 1 year ago

Hi Felix

Yes! I can see the thumbnails now again :) Thank you!

Just for explanation. All 3 handles we are using belong to the same company