• Resolved cag8f

    (@cag8f)


    Hello. I have an Instagram feed displayed on my page, with the shortcode:

    [gallery type='instagram' columns='3' count='6' media='photos' thumb_size='350' layout='square']

    Up until now it has displayed 6 images, as expected. But today it started displaying 5 (screenshot). Any ideas why that is occurring, or how to troubleshoot?

    I inspected the DOM, and there are only 5

    • elements in the feed (screenshot).

      Unfortunately the page is not live, so I cannot share it with you. But I am able to carry out any troubleshooting instructions you give me.

      Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Sayontan Sinha

    (@sayontan)

    If nothing changed between the Instagram feeds and in the plugin code of two days I really don’t have any troubleshooting tips that can help you. I am not aware of any other threads pointing to this sort of a problem here either, otherwise I would have directed you to those. The only thing I can come up with is that Instagram doesn’t always return the expected count (that is why the “More” button is activated by default for it, whenever you have more photos in the stream). This is a known issue faced by various users beyond WP as well.

    The code to pull photos is very straightforward – it does no filtering and applies no date-based logic.

    Thread Starter cag8f

    (@cag8f)

    You linked a Stack Overflow question. In it, someone references this page.

    >> These capabilities will be disabled immediately (previously set for July 31, 2018 or December 11, 2018 deprecation). The following will be deprecated according to the timeline we shared previously:

    >> Public Content – all remaining capabilities to read public media on a user’s behalf on December 11, 2018

    >> Basic – to read a user’s own profile info and media in early 2020

    Are they relevant in this case?

    What if I was able to open up the page for you to inspect (without no login required). Would that perhaps shed more light on the issue.

    Plugin Author Sayontan Sinha

    (@sayontan)

    Photonic uses basic, as Instagram did not grant it the use of the public_content scope (I kept fighting for it for a long time, as documented here).

    What you are attempting to do requires only the basic scope, and that is still alive and well for another year. I have to change the plugin to use a different API before that, and I have already begun work for it. It needs me to set up an “Instagram Business Account” and a bunch of other things that are inorganic to Photonic, hence it is a long process.

    This is one of those cases where I cannot do anything even with back-end access, let alone front-end access.

    Thread Starter cag8f

    (@cag8f)

    OK. So am I correct that other plugins (or solutions) may *not* suffer from this issue?

    Plugin Author Sayontan Sinha

    (@sayontan)

    Depends on what API the plugin is using. If it is using the Graph API then probably not. If you go through that thread or other threads, people say that this is essentially a problem with the current Instagram API itself. In a way it is like the Picasa API for the past 3 years – Google announced its EOL in early 2016 … but didn’t release the new Google Photos until May 2018. In all the time since announcing the EOL Picasa stopped receiving any upgrades or bug-fixes.

    Thread Starter cag8f

    (@cag8f)

    OK. This is unfortunate. Thanks for the info. I guess we can consider this resolved.

    Thread Starter cag8f

    (@cag8f)

    Update. As a test, I deleted that particular Instagram shortcode and built a new one, from scratch, using the desired settings. When I did so, all 6 images displayed in the Instagram feed, as expected. So I’m not sure what occurred that was causing the issues.

    We can consider this resolved.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Instagram feed not displaying 6 images as expected.’ is closed to new replies.