I want to display Instagram image but it didn’t show due to CORS issue.
Error messege in browser console.
GET https://instagram.flba2-1.fna.fbcdn.net/v/t51.2885-15/328544713_963151857909010_5604593002897101398_n.jpg?stp=dst-jpg_e35_s1080x1080&_nc_ht=instagram.flba2-1.fna.fbcdn.net&_nc_cat=110&_nc_ohc=NgdRemmUwKcAX8JyCUr&edm=AOQ1c0wBAAAA&ccb=7-5&oh=00_AfBKBJQax6FfG8NA0K__ZYlT2cOtt4o6yMTr6eLm370SFg&oe=63E735EE&_nc_sid=8fd12b net::ERR_BLOCKED_BY_RESPONSE.NotSameOrigin 200
Please give me solution.
Join in the discussion - add comment below:
to fix this, you need to proxy ig images through your own server. Here is an example in PHP: https://github.com/skmachine/instagram-php-scraper#media-proxy-solving-cors-issue-neterr_blocked_by_response