DEV Community

Discussion on: 💡 Quick tip: Fetch JSON data from a public Instagram profile without Graph API

Collapse
 
ardhityawiedhairawan profile image
Ardhitya Wiedha Irawan

It's not working. Inst*gr*m has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Any solution ?

Collapse
 
bgrand_ch profile image
Benjamin Grand

Try on the request header:
Access-Control-Allow-Origin: *

developer.mozilla.org/en-US/docs/W...

Collapse
 
ardhityawiedhairawan profile image
Ardhitya Wiedha Irawan

It is working? 🤔