Why has my Instagram feed vanished from my homepage?

Hello Shopify Community!

I have a heavily customized site for which I used a non shopify developer to customize the Debut theme. In the design , they coded for my instagram feed to appear at the bottom of my page (not an app, it was put in the code). However, recently this has just disappeared. I did not make any changes to the code myself and did not authorize anyone to do so. As far as I know, my developer no longer has access to my page.

www.naazofficial.com

Can someone please help me get my feed back on the page? I am hoping to find some answers before having to hire an expert. I spoke to a shopify customer service and apparently the code for my feed to appear is still in the theme.liquid file but we just can’t see it on the actual page.

Thank you so much!

Sam

Things change overtime, software has to be maintained when combining 3rd party platforms.

https://help.shopify.com/en/manual/online-store/themes/os/customize/instagram-feed-changes

You need to update your implementation to meet Instagrams updates, or possibly a proxy for CORS, or use an app.

~~Instagram Platform - Documentation - Meta for Developers

https://developers.facebook.com/docs/instagram/oembed

Library example https://github.com/stevenschobert/instafeed.js (which requires setting up deploying a free heroku app)

Browsers developer tools Console has several instagram related errors such as:

Access to XMLHttpRequest at 'https://www.instagram.com/shopnaazofficial' from origin 'https://www.naazofficial.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

https://www.google.com/search?q=Instagram+Access+to+XMLHttpRequest+at+from+origin+has+been+blocked+by+CORS+policy%3A+No+%27Access-Control-Allow-Origin%27+header+is+present+on+the+requested+resource

It doesn’t look like it’s need but In case you need to rollback themes https://help.shopify.com/en/manual/online-store/themes/extend/theme-code#roll-back-to-an-older-version-of-your-theme

Thank you so much for taking the time to reply to me with so much information! Now that I have some more knowledge, I will look see if I can sort it out.

please mark as solved @Sam729

Hi! I have not had a chance to figure out if this is in fact solved yet. I will do so as soon as I know. I am not well versed in these things so it will take me a little time to even decipher most of Paul’s message :slightly_smiling_face: