Skip to content Skip to sidebar Skip to footer

New Cors Policy For Instagram Public Api?

I am using these endpoints with JavaScript Ajax to get Instagram user information and posts: https://www.instagram.com/[username]/?__a=1 https://www.instagram.com/graphql/query/?qu

Solution 1:

Instagram has introduced a strict-origin-when-cross-origin policy and is only allowing the following cross origin sites:

  • https://www.instagram.com
  • https://*.fbcdn.net
  • https://*.instagram.com
  • https://*.cdninstagram.com
  • https://*.facebook.com
  • https://*.fbsbx.com

This leads me to believe that they are restricting websites to display the API data. The data itself is still accessible, just not directly over a website. You would need to use a proxy or a server to resolve it

Post a Comment for "New Cors Policy For Instagram Public Api?"