jsanahuja / jquery.instagramFeed

Instagram Feed without access token. Not using the Instagram API
MIT License
313 stars 164 forks source link

Stopped working #103

Closed luizping closed 3 years ago

luizping commented 3 years ago

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.

thomashdk commented 3 years ago

@mahotilo i'm getting the images but also all the errors..

Weird..

mahotilo commented 3 years ago

@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)

mahotilo commented 3 years ago

@thomashdk, to get rid of such errors in the console, follow this recommendation. image

thomashdk commented 3 years ago

Hi @mahotilo

hmm have already tried with that.. Just getting this now.

image

mahotilo commented 3 years ago

Are you using the script with TAG?

thomashdk commented 3 years ago

i'm using Username

thomashdk commented 3 years ago

@mahotilo If I change the username to "Instragram" I get their feed.

If I changed it to my own "thomas___dk" then it dont..

mahotilo commented 3 years ago

Hmm. It works here on my test site

image

            $.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,
            });
thomashdk commented 3 years ago

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

mahotilo commented 3 years ago

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.

unlockdesgn commented 3 years ago

Suddenly instagram feed down ! Example: https://www.jqueryscript.net/demo/Instagram-Photos-Without-API-instagramFeed/

tiktiddies commented 3 years ago

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."

unlockdesgn commented 3 years ago

What is the solution ?