thenikhilk / sharepoint-instagram-feed

This web part enables Office 365 SharePoint users to embed Instagram feeds from any public Instagram account to SharePoint pages seamlessly with NO NEED for registering any ACCESS_KEY, TOKEN or client applications.
https://thenikhilk.com/2019/10/26/tnk-sp-ig/
MIT License
16 stars 16 forks source link

Instagram images not loading #14

Open pbnj-alisson opened 3 years ago

pbnj-alisson commented 3 years ago

Hi there,

Since this morning the Instagram images are not loading on SharePoint.

Please, advise.

Instagram feed SP app issue
StoffeChris commented 3 years ago

I have the exact same issue. Is this a temporary issue? I just added the webpart.

Out of curiosity, have you enabled private & public CDN?

Bjaarken commented 3 years ago

Exact same issue in different tenants.

JanKoeck commented 3 years ago

Have the same issue

sbrannigan commented 3 years ago

Same issue

mirontoli commented 3 years ago

We used this webpart and it worked until recently. Is it a change on Instagram or SharePoint? Have you some ideas how to solve it? It seams that the owner of this repo is not active anymore. The other issue might be related/same: #13

dikkemeneer commented 3 years ago

Same story here! 0 response from the developer, what is this magic :(

HoLy1337 commented 3 years ago

I have looked in to this, for me it looks like Facebook (the small company behind instagram) is blocking now CORS ("Cross-Origin Resource Sharing")...

A normal browser tells a webserver from where the request is coming, and then the webserver can decide if he want to allow the request or not. It looks like the webpart is using an internal interface that was developed only for internal-use and now facebook decided to block the interface for external request. Like Request that come from sharepoint.... If you directly access the link from the images you will be able to view the image, because then the request goes directly to instagram (facebook)...

There is not much you can do:

  1. Pray that facebook opens the interface for external use again. (I think this will not happen, they have a reason for closing)
  2. Change the API to work with the facebook graph API (https://developers.facebook.com/docs/instagram-api/?locale=de_DE) but I have not checked if the API give access to the images...

if someone has a better idea let us know ;)

Priyanka-2207 commented 3 years ago

is there any updates on this. I am also getting same error image

Please help me on this.

Dennis0162 commented 3 years ago

Same issue here 👎

janwillemkeizer commented 2 years ago

Yes, Cors policy.

MedewerkersPortal?Mode=Edit:1 Access to XMLHttpRequest at 'https://images23-focus-opensocial.googleusercontent.com/gadgets/proxy?url=https%3A%2F%2Fwww.instagram.com%2Fthenikhilk%2F%3F__a%3D1&container=none' from origin 'https://newskool.sharepoint.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. MedewerkersPortal:1 Access to XMLHttpRequest at 'https://images6-focus-opensocial.googleusercontent.com/gadgets/proxy?url=https%3A%2F%2Fwww.instagram.com%2Fthenikhilk%2F%3F__a%3D1&container=none' from origin 'https://newskool.sharepoint.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Pen-Ace commented 2 years ago

Was thinking CDN issue but alas same issue and from the long string above of comments, there is no update on this. Very annoying as it was working great until recently.