jsanahuja / jquery.instagramFeed

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

It stopped working #42

Closed LeydenJar closed 4 years ago

LeydenJar commented 4 years ago

I believe instagram just made necessary to login to get the feeds

jsanahuja commented 4 years ago

We cannot reproduce this. It is still working in our demos

bknack commented 4 years ago

I'm afraid I've run into this as well. The first line looks like:

I can paste entire file if you want, but the upshot is that if you're not logged in, you just get the login page. BTW: I think you _may_ be able to get things working the first couple times you try. Unfortunately, after that, no dice. It would be wonderful if you find a way around this! Cheers, Bruce.
jsanahuja commented 4 years ago

Can you please check your browser's console or network tabs to see if there is any error during the HTTP requests?

It may be related to #25. They have implemented a kind of rate limitation so if you have been constantly refreshing the page that could be the reason

bknack commented 4 years ago

Good Morning Javier:

Thanks for your quick response. You are completely right, this is related to #25.

The page you get back is their login page, not the page that was targeted by 'username'.

I know this because I was trying to build something like your project when I ran into this. As such, I was looking at the page information that was returned. I noticed the tag returned was: <html lang="en" class="no-js not-logged-in client-root">

In looking at the rest of the data returned I found this:

Login • Instagram

As far as window._shareData, here are the first 21 lines (the formatting is mine).

window._sharedData = { "config" : { "csrf_token" : "mo9B6BLOOtQoH34502bcEdarYVsONNi9", "viewer" : null, "viewerId" : null }, "country_code" : "CA", "language_code" : "en", "locale" : "en_US", "entry_data" : { "LoginAndSignupPage" : [ { "captcha" : { "enabled" : false, "key" : "" }, "gdpr_required" : false, "tos_version" :"row", "username_hint" : "" } ] }...

Hope this helps!

I don't really know what might be done. Obviously they want you to login. I've tried logging in on the same computer with another tab or browser. These session worked, but still the session using my (and your) code kept getting the login page. I checked further and Instagram encrypts the password before sending it. Without this encryption, I don't think just posting a username and password will work.

Cheers,

Bruce.

On Fri, Nov 29, 2019 at 10:17 AM Javier Sanahuja notifications@github.com wrote:

Can you please check your browser's console or network tabs to see if there is any error during the HTTP request?

It may be related to #25 https://github.com/jsanahuja/jquery.instagramFeed/issues/25. They have implemented a kind of rate limitation so if you have been constantly refreshing the page that could be the reason

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jsanahuja/jquery.instagramFeed/issues/42?email_source=notifications&email_token=AE5BEBPLEJGT44DARLE7J5LQWEXBXA5CNFSM4JRBLM3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFPDB5Q#issuecomment-559821046, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE5BEBL7KOG7ZUSQAWUJ62LQWEXBXANCNFSM4JRBLM3A .

-- [image: Logo: Balance] http://www.siliconsurfers.com/ [image: Bruce A. Knack] [image: Silicon Surfers] https://www.siliconsurfers.com/ [image: 1 800 888-1682] <+18008881682> [image: SiliconSurfers.com] https://www.siliconsurfers.com/

jsanahuja commented 4 years ago

Do you have the same issue in our documentation page?

https://www.sowecms.com/demos/jquery.instagramFeed/index.html

Does the plugin work for you there?

bknack commented 4 years ago

Hi Javier:

I've attached a screenshot.

On Fri, Nov 29, 2019 at 11:43 AM Javier Sanahuja notifications@github.com wrote:

Do you have the same issue in our documentation page?

https://www.sowecms.com/demos/jquery.instagramFeed/index.html

Does the plugin work for you there?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jsanahuja/jquery.instagramFeed/issues/42?email_source=notifications&email_token=AE5BEBI2EBCWVQ6DRR75KTTQWFBDFA5CNFSM4JRBLM3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFPIDAY#issuecomment-559841667, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE5BEBMSN6KLBPNLNDZHXW3QWFBDFANCNFSM4JRBLM3A .

-- [image: Logo: Balance] http://www.siliconsurfers.com/ [image: Bruce A. Knack] [image: Silicon Surfers] https://www.siliconsurfers.com/ [image: 1 800 888-1682] <+18008881682> [image: SiliconSurfers.com] https://www.siliconsurfers.com/

jsanahuja commented 4 years ago

I can't see it, maybe that doesn't work through email

bknack commented 4 years ago

Hi Javier:

Please try this link: https://drive.google.com/open?id=1K6PcoROrEOObdGcfJpK0nAd93XBOSQMT

Cheers, Bruce.

On Fri, Nov 29, 2019 at 12:01 PM Javier Sanahuja notifications@github.com wrote:

I can't see it, maybe that doesn't work through email

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jsanahuja/jquery.instagramFeed/issues/42?email_source=notifications&email_token=AE5BEBNJX64MZB7J24JFM3DQWFDG3A5CNFSM4JRBLM3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFPJAOY#issuecomment-559845435, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE5BEBKKOSHOCUSUPBJMMHLQWFDG3ANCNFSM4JRBLM3A .

-- [image: Logo: Balance] http://www.siliconsurfers.com/ [image: Bruce A. Knack] [image: Silicon Surfers] https://www.siliconsurfers.com/ [image: 1 800 888-1682] <+18008881682> [image: SiliconSurfers.com] https://www.siliconsurfers.com/

jsanahuja commented 4 years ago

Definitely related to #25, there is nothing we can do. It's a kind of network soft ban, something between your network and Instagram.

We could display a customizable text link like "Visit us on Instagram" when this happens

bknack commented 4 years ago

Thanks for the feedback. Glad I was able to confirm what the error was.

Cheers, Bruce.

On Fri, Nov 29, 2019 at 12:13 PM Javier Sanahuja notifications@github.com wrote:

Definitely related to #25 https://github.com/jsanahuja/jquery.instagramFeed/issues/25, there is nothing we can do. It's a kind of network soft ban, something between your network and Instagram.

We could display a customizable text link like "Visit us on Instagram" when this happens

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jsanahuja/jquery.instagramFeed/issues/42?email_source=notifications&email_token=AE5BEBOJH65T5BTZQVW5MDTQWFETDA5CNFSM4JRBLM3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFPJUIY#issuecomment-559847971, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE5BEBKUROHNOCLTQA3B37TQWFETDANCNFSM4JRBLM3A .

-- [image: Logo: Balance] http://www.siliconsurfers.com/ [image: Bruce A. Knack] [image: Silicon Surfers] https://www.siliconsurfers.com/ [image: 1 800 888-1682] <+18008881682> [image: SiliconSurfers.com] https://www.siliconsurfers.com/

jsanahuja commented 4 years ago

Thank you for the interest! :)