I am trying to get my instagram feed with the following code
$.ajax({
url: 'https://api.instagram.com/v1/users/xxxxxxx/media/recent/?access_token=xxxxxxxxxxx',
error: function() {
alert('error');
},
success: function(data) {
alert('yes');
},
type: 'GET'
});
The error I am getting is
No 'Access-Control-Allow-Origin' header is present on the requested resource.
Is there a work around?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…