Closed luizping closed 3 years ago
@mahotilo i'm getting the images but also all the errors..
Weird..
@thomashdk
Weird..
Not exactly. Some of these errors are caused by fair try to load data directly from IG in case they will change their minds. Other errors are related to too big amount of images in the TAG example (see https://github.com/jsanahuja/jquery.instagramFeed/issues/119)
@thomashdk, to get rid of such errors in the console, follow this recommendation.
Hi @mahotilo
hmm have already tried with that.. Just getting this now.
Are you using the script with TAG?
i'm using Username
@mahotilo If I change the username to "Instragram" I get their feed.
If I changed it to my own "thomas___dk" then it dont..
Hmm. It works here on my test site
$.instagramFeed({
'username': 'thomas___dk',
'container': '#Instafeed',
'display_profile': true,
'display_biography': true,
'display_gallery': true,
'display_igtv': true,
'callback': null,
'styling': true,
'items': 8,
'items_per_row': 4,
'margin': 1,
'lazy_load': true,
'display_captions': true,
'cache_time': 360,
});
You don't have the hostname specified?
Arh you using this ? https://cdnjs.cloudflare.com/ajax/libs/jquery.instagramFeed/3.0.0/jquery.instagramFeed.min.js
You don't have the hostname specified?
Yep. But it is not a problem.
Arh you using this ?
I am using version 3.0.3.
Suddenly instagram feed down ! Example: https://www.jqueryscript.net/demo/Instagram-Photos-Without-API-instagramFeed/
Suddenly instagram feed down ! Example: https://www.jqueryscript.net/demo/Instagram-Photos-Without-API-instagramFeed/
same error in demo and my website https://www.tiktiddies.com/ it's not a problem of IP banned but a problem of "Access to XMLHttpRequest at 'https://www.instagram.com/XXXXXXX/' from origin 'https://www.tiktiddies.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource."
What is the solution ?
I think IG changed the policy. Now to see a user page, you have to be logged in. So when you run the script, the GET returns the IG Login Page content.