stav / rapidapi-instagram-api

How to use the Instagram API with JavaScript Tutorial on RapidAPI
https://rapidapi.com/blog/instagram-api-javascript/
4 stars 2 forks source link

CORS problem displaying profile_pic_url #1

Open filipposwift opened 3 years ago

filipposwift commented 3 years ago

HI, the profile pictured is not displayed. This is happening both for the fake data and for the api data. Inspecting the page appears that the is not rendered in the dom and error refers to a cors issue. Schermata 2021-10-28 alle 20 21 42 Can you please help me to understand and to fix it. Thanks F

stav commented 2 years ago

@filipposwift Are you still having this problem?

filipposwift commented 2 years ago

Hi Steven, thank you for the email. I’m working on something else, so I haven’t check. I will come back to you asap. F

Da: Steven Almeroth @.> Risposta: stav/rapidapi-instagram-api @.> Data: martedì 16 novembre 2021 19:11 A: stav/rapidapi-instagram-api @.> Cc: filipposwift @.>, Mention @.***> Oggetto: Re: [stav/rapidapi-instagram-api] CORS problem displaying profile_pic_url (Issue #1)

@filipposwifthttps://github.com/filipposwift Are you still having this problem?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/stav/rapidapi-instagram-api/issues/1#issuecomment-970533975, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AP6HRFBJFXYHLF7DXL7YPI3UMKNFRANCNFSM5G5RCT2Q. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

filipposwift commented 2 years ago

Hi Steven, same problem. I’m following your tutorial on rapidapi and I used your github repo code. This is the error I get in firefox (is in Italian but easy to understand)

La risorsa “https://scontent-iad3-1.cdninstagram.com/v/t51.2885-19/s150x150/252403919_616838326163269_7641528641167993197_n.jpg?_nc_ht=scontent-iad3-1.cdninstagram.com&_nc_cat=101&_nc_ohc=Jqp9TrWCKRwAX9ddrp8&edm=AAo1ks0BAAAA&ccb=7-4&oh=36cbe343ecbb0c49cfbe82cdf13fa154&oe=619C9345&_nc_sid=01e9e1” è stata bloccata a causa dell’header Cross-Origin-Resource-Policy (o dalla mancanza di tale header). Per ulteriori informazioni vedi https://developer.mozilla.org/docs/Web/HTTP/Cross-Origin_Resource_Policy_(CORP)#https://developer.mozilla.org/docs/Web/HTTP/Cross-Origin_Resource_Policy_(CORP)

I would be very grateful if you can help me.

Best regards Filippo

Da: Filippo Chiusano @.> Data: martedì 16 novembre 2021 22:59 A: stav/rapidapi-instagram-api @.> Oggetto: Re: [stav/rapidapi-instagram-api] CORS problem displaying profile_pic_url (Issue #1)

Hi Steven, thank you for the email. I’m working on something else, so I haven’t check. I will come back to you asap. F

Da: Steven Almeroth @.> Risposta: stav/rapidapi-instagram-api @.> Data: martedì 16 novembre 2021 19:11 A: stav/rapidapi-instagram-api @.> Cc: filipposwift @.>, Mention @.***> Oggetto: Re: [stav/rapidapi-instagram-api] CORS problem displaying profile_pic_url (Issue #1)

@filipposwifthttps://github.com/filipposwift Are you still having this problem?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/stav/rapidapi-instagram-api/issues/1#issuecomment-970533975, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AP6HRFBJFXYHLF7DXL7YPI3UMKNFRANCNFSM5G5RCT2Q. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

stav commented 2 years ago

When are you getting this error? I don't get the error.