I am using jQuery to parse a user's latest Instagram image like this:
     $.getJSON(instagram_url, function(data) {
      var latestPic = data.images;
      console.log(latestPic);
      });
But get an error message in the dev tools saying
XMLHttpRequest cannot load https://api.instagram.com/v1/users/{user_id}/media/recent/?access_token=ACCESS_TOKEN. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.
I am not sure what this means, since I get a json response when I paste my url into the browser. Does anyone know how to deal with this properly?
Thanks in advance
 
     
    