Skip to content

Instafeed no longer pulling through #70

Open

Description

@tomhewitt2201

Describe the bug:

Instagram feed isn't loading on multiple sites where we use this plugin. It's happening across multiple environments as well for each site including development server and local environment. Until recently they were all working without any issues.

Steps to reproduce:

  1. NA - Load site and nothing is pulling through.

Where is it happening?

  • [ X] On a server
  • [X ] Local dev environment

What are you requesting:
Username: ...
Hashtag: ...

Config file:

<?php

return [
    // Replace with your personal key
    'proxyKey' => '********************',
    'useProxy' => true,
    'timeout' => 10,
];

Software versions:
Plugin Version: 2.1.0
PHP Version: 8.2.13
CraftCMS Version: 4.5.13

Activity

  1. kringkaste commented on Dec 21, 2023

    @kringkaste
    Member

    Hi, thanks for contacting us. We are investigating this at the moment. Instagram seems to have changed the structure of their site. So we will come back to you asap.

  2. danfathom commented on Dec 21, 2023

    @danfathom

    We're having the same issue. Do you guys have a rough estimate of when/if you could get this fixed?

    thanks!

  3. deevanych commented on Dec 28, 2023

    @deevanych

    +1. same problem

  4. brambeekman commented on Jan 2, 2024

    @brambeekman

    Same here :(

  5. danfathom commented on Jan 2, 2024

    @danfathom

    Hi, do you have an update on if/when this will be fixed?

  6. laurabennett commented on Jan 2, 2024

    @laurabennett

    Me too!

  7. jamesmacwhite commented on Jan 4, 2024

    @jamesmacwhite

    It certainly does seem like something related to the DOM structure of the Instagram public profile side.

    The edges array in the JSON response through the proxy is empty. The request is technically working fine still, but the DOM parsing is likely no longer returning the required content, due to the changes.

  8. kringkaste commented on Jan 4, 2024

    @kringkaste
    Member

    We are testing a solution at the moment. We release a new version asap.

  9. jamesmacwhite commented on Jan 4, 2024

    @jamesmacwhite

    Great news! Thanks for the update. I certainly appreciate the challenges of maintaining the DOM parsing side of things.

  10. kringkaste commented on Jan 4, 2024

    @kringkaste
    Member

    @tomhewitt2201 @laurabennett @jamesmacwhite @deevanych We just released a new version. Could you test this on your sites? It should work with and without proxy.

  11. jamesmacwhite commented on Jan 4, 2024

    @jamesmacwhite

    @kringkaste Thank you for this. I am unfortunately on Craft CMS 3, will this be backported? I cannot test this directly in the project it is used in, but I can potentially spin up a DDEV Craft CMS 4 environment to confirm the plugin changes.

  12. kringkaste commented on Jan 4, 2024

    @kringkaste
    Member

    @jamesmacwhite Yes, we will backport this.

  13. laurabennett commented on Jan 4, 2024

    @laurabennett
  14. jamesmacwhite commented on Jan 4, 2024

    @jamesmacwhite

    @kringkaste I spun up a Craft CMS 4 environment with the proxy key for the Craft CMS 3 project and tested the PHP getFeed() function and it now returns data again!

    Interestingly, my Postman API mockup of the proxy call to: https://igproxy.codemonauts.com/[accountname]/ seems to still be returning blank on the edges array, if that's something to flag, but otherwise through Twig it is working.

    Edit: Potentially this seems to be something related to Cookies, as look at the diff, that's part of the changes.
    Edit 2: After clearing the caches, it appears the response is returning empty again. However disabling the proxy, it appears to work OK, so potentially an issue with the proxy? I've previously had to use the proxy as it's never worked without.

  15. 38 remaining items

  16. kringkaste commented on Jan 30, 2024

    @kringkaste
    Member

    Hey @brambeekman what do you mean with broken? The current version parses the IG response and is working. If you use our proxy service, there is a high queue and we are not able to fullfill a high refresh frequency. Please send us an email to support@codemonauts.com with your accounts you want to fetch and we will have a look into it.

  17. kringkaste commented on Jan 30, 2024

    @kringkaste
    Member

    @deevanych We got no feedback from our last email to you. Your data was updated and if we check your account on our sites, everything is working. So what's broken? Does it working without the proxy service on your local site?

  18. deevanych commented on Jan 30, 2024

    @deevanych

    @deevanych We got no feedback from our last email to you. Your data was updated and if we check your account on our sites, everything is working. So what's broken? Does it working without the proxy service on your local site?

    The last time I looked, nothing worked (with and without a proxy). I'll take a look today and come back with an answer 👍

  19. deevanych commented on Feb 2, 2024

    @deevanych

    @kringkaste I tried. Once 10 pictures were displayed, then 4 were shown (this was based on the hashtag, nothing was shown for the account). And then they stopped showing up altogether. I tried different combinations - with/without proxy. The only thing I saw is that if the “Use volume to store the Instagram images” checkbox is enabled, the pictures are not shown or saved.

  20. deevanych commented on Feb 2, 2024

    @deevanych

    @kringkaste Yes, hashtag is works, but account - not.
    {% set items = craft.instagram.getFeed("accountname") %} - correct?

  21. Romanavr commented on Feb 5, 2024

    @Romanavr

    @kringkaste

    I'm too having troubles with the Instagram Feed. This is what I can see in the logs.

    [instagramfeed] Get feed for "*myaccountname*"
    [instagramfeed] No cached data found, start fetching Instagram page.
    [instagramfeed] Error fetching images: Client error: `GET https://scontent-...long url` resulted in a `403 Forbidden` response:
    URL signature expired
    ...it repeats a few more time.
    [instagramfeed] Cache is empty and no items could be fetched. Stopping requests for 10 seconds.
    

    Replied you to the email for more feedback.

  22. mark-chief commented on Feb 15, 2024

    @mark-chief

    Hey @kringkaste, a client has made me aware that their feed hasnt updated for ~4 weeks.

    I have cleared cache, checked their profile is public, checked logs. Logs say fetched items etc..

    2024-02-15 09:58:52 [web.INFO] [instagramfeed] Get feed for "usernameRemoved" {"memory":7933752} 
    2024-02-15 09:58:52 [web.INFO] [instagramfeed] Returning cached items. {"memory":7961672} 
    2024-02-15 09:58:52 [web.INFO] [application] Request context:
    

    Any pointers?

    Version 2.2.1

    Thank you!

  23. erikjohansson commented on Mar 1, 2024

    @erikjohansson

    Just wanted to chime in and say that a new account we added on a client site more than a week ago is not fetching images and web.log gives the following error:

    2024-03-01 10:26:19 [web.ERROR] [instagramfeed] Error fetching page: Client error: `GET https://igproxy.codemonauts.com/redactedAccountName/` resulted in a `403 Forbidden` response: <?xml version="1.0" encoding="UTF-8"?> <Error><Code>AccessDenied</Code><Message>Access Denied</Message><RequestId>1T1HQD (truncated...)  {"memory":13194504}
    2024-03-01 10:26:19 [web.ERROR] [instagramfeed] Instagram profile data could not be fetched. {"memory":13149632}
    

    Is the proxy is still going through queued requests?

    (I have emailed the account details to support)

  24. thomasbendl commented on Mar 20, 2024

    @thomasbendl

    Hi - same issue here
    Craft CMS 4.8.4, Instagram Feed 2.2.1
    log:
    [instagramfeed] Error fetching images: Client error: GET https://scontent-... resulted in a 403 Forbidden response:
    URL signature expired

    Do you have any news on that?

  25. frontedbe commented on Mar 20, 2024

    @frontedbe

    @thomasbendl same here!

  26. simajkeee commented on Apr 23, 2024

    @simajkeee

    Hey! the plugin doesn't load feed wih and without proxy. With poxy i got error
    2024-04-23 07:07:11 [web.ERROR] [instagramfeed] Error fetching page: Server error: GET https://igproxy.codemonauts.com/somename/ resulted in a 503 Service Temporarily Unavailable response: <META (truncated...) {"memory":45334568}
    2024-04-23 07:07:11 [web.ERROR] [instagramfeed] Instagram profile data could not be fetched. {"memory":45297288}
    Could you help?

  27. iamkeir commented on Jul 5, 2024

    @iamkeir

    We're experiencing the same issue - last post showing is 24 June, but we've had 17 new posts since then and they are not showing.

    There's no information in logs, and we have cleared all caches multiple times. Any ideas?

    Craft Pro 3.9.13
    Instagram Feed 1.3.0

  28. bossanova808 commented on Aug 21, 2024

    @bossanova808

    Yep same issue here now too - was working until recently, but 100% errors now unfortunately.

  29. MangoMarcus commented on Sep 18, 2024

    @MangoMarcus

    Hey @sonoflee @mark-chief @deevanych @robinsm The queue is very long at the moment and is still processing. We would love to prioritize you. Please send us a short mail to support@codemonauts.com with the account names or tags affected.

    Hey @kringkaste, is the support@codemonauts.com inbox still monitored? I've reached out for the same problem but not had a response in 4 weeks so I just thought I'd check it's been received

    Thanks 🙂

  30. iamkeir commented on Sep 18, 2024

    @iamkeir

    @MangoMarcus we've abandoned this plugin due to lack of support. Instead, we've been using https://plugins.craftcms.com/craftagram?craft5

    It's paid ($19) but has been very good so far.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions