Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instagram Bridge Broken Again #1271

Closed
xmaux72 opened this issue Aug 23, 2019 · 51 comments
Closed

Instagram Bridge Broken Again #1271

xmaux72 opened this issue Aug 23, 2019 · 51 comments

Comments

@xmaux72
Copy link

xmaux72 commented Aug 23, 2019

Every call to IG returns empty feed.

Example:

https://rss.nixnet.xyz/?action=display&bridge=Instagram&context=Username&u=nasa&media_type=all&format=Atom

@psyciknz
Copy link

I’m seeing this also. Wonder if Instagram has changed something as I think it asks for long on any page.

@fulmeek
Copy link
Contributor

fulmeek commented Aug 24, 2019

Do you see something in your logs? This works perfectly normal on my instances (lastest release and latest on master, different machines), so something must go wrong on yours.

@Latz
Copy link

Latz commented Aug 24, 2019

No problem on my server.

@vfarcy
Copy link

vfarcy commented Aug 24, 2019

Every call to IG returns empty feed.

Example:

https://rss.nixnet.xyz/?action=display&bridge=Instagram&context=Username&u=nasa&media_type=all&format=Atom

Same here, Instagram (and Bloomberg) bridges are broken :-(

Version : 2019-07-06

@aware2
Copy link

aware2 commented Aug 24, 2019

Same here, Instagram broken for me :-/

@mr-bobdobalina
Copy link

Same here. Hash tag Instagram searches still work. Location doesn't work either.

@psyciknz
Copy link

I get nothing in the logs....ah ok, upgraded and now getting errors....much better for diagnosing.

[Sun Aug 25 08:46:13.109048 2019] [php7:notice] [pid 21] [client 192.168.10.7:58577] PHP Notice:  Undefined property: stdClass::$ProfilePage in /app/bridges/InstagramBridge.php on line 54
[Sun Aug 25 08:46:13.109560 2019] [php7:notice] [pid 21] [client 192.168.10.7:58577] PHP Notice:  Trying to get property 'graphql' of non-object in /app/bridges/InstagramBridge.php on line 54
[Sun Aug 25 08:46:13.109829 2019] [php7:notice] [pid 21] [client 192.168.10.7:58577] PHP Notice:  Trying to get property 'user' of non-object in /app/bridges/InstagramBridge.php on line 54
[Sun Aug 25 08:46:13.109851 2019] [php7:notice] [pid 21] [client 192.168.10.7:58577] PHP Notice:  Trying to get property 'edge_owner_to_timeline_media' of non-object in /app/bridges/InstagramBridge.php on line 54
[Sun Aug 25 08:46:13.109872 2019] [php7:notice] [pid 21] [client 192.168.10.7:58577] PHP Notice:  Trying to get property 'edges' of non-object in /app/bridges/InstagramBridge.php on line 54
[Sun Aug 25 08:46:13.109906 2019] [php7:warn] [pid 21] [client 192.168.10.7:58577] PHP Warning:  Invalid argument supplied for foreach() in /app/bridges/InstagramBridge.php on line 61
192.168.10.7 - - [25/Aug/2019:08:46:12 +1200] "GET /?action=display&bridge=Instagram&context=Username&u=isthegrandtour&media_type=picture&format=Atom HTTP/1.1" 200 1023 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.100 Safari/537.36"

On the dev.2019-07-06 version (in docker rssbridge/rss-bridge:latest)

@psyciknz
Copy link

Hmm. Mine has started working this afternoon .

@andyS9891
Copy link

andyS9891 commented Aug 25, 2019

I never had any issues with the Instagram feeds (no matter how many pages I added or frequent updates I did), but since the past few days it seems to stop working after some time and only works again once the IP changes (rss-bridge is on the same computer). And when I access an Instagram page on the browser on the same computer I get thrown straight to the log-in without even seing the profile page I tried to access.

I wonder if Instagram has some rate limiting now....

@psyciknz
Copy link

Hmm on outgoing up address? Yeah could be. My wife noticed every Instagram page she went to for a login screen. I tend to use the rss-bridge

@fulmeek
Copy link
Contributor

fulmeek commented Aug 25, 2019

The only improvement I could think of is to check if there's any usable data in getInstagramJSON(). You probably get some HTML content but you end up with an empty feed if the regular expression does not match anything (no script data because of a login screen or so).
In a feed reader, you wouldn't even notice that as you simply get no updates anymore.

@somini
Copy link
Contributor

somini commented Aug 25, 2019

This seems to be some rate limiting or IP blocking, as reported by @andyS9891.
From my usual RSS Bridge host this is broken, but from my residential IP everything works as before.

@aware2
Copy link

aware2 commented Aug 25, 2019

Indeed, i restart my internet router to change my IP, and my feeds insta bridge work !

@daprofessa19
Copy link

Yea I first reported this when my location feeds broke under issue #1259

@mr-bobdobalina
Copy link

Yep, I agree must be some sort of rate limiting. I'm running TT-RSS on a VPS, so I can't change my IP so easily. Using Lynx it appeared that IG was kicking me to an login page. I disabled the Instagram Bridge for most of the day and checked in with Lynx again. Now it appears that it loaded up fine. I'll probably change all my IG RSS feeds to a longer update interval to see if that helps.

@somini
Copy link
Contributor

somini commented Aug 26, 2019

I'll probably change all my IG RSS feeds to a longer update interval to see if that helps.

Can this be configured directly for the Instagram Bridge? Allowing the cache to apply for a configurable amount of time?

@vfarcy
Copy link

vfarcy commented Aug 26, 2019

I just tried https://fetchrss.com/instagram

If you're trying to access Instagram user profile:
Instagram has just changed the behavior of its web version interface. Now no one can view more than a few users' profiles without being authorized on their servers first. In other words, user profiles are no longer publicly available for servers like ours.
We're currently searching for ways to solve this problem. Sorry for the inconveniences.

If the URL is valid, but you still see this message, please try again in 8 minutes.

@batarchi
Copy link

any solution yet ?

@IceWreck
Copy link
Contributor

Instagram has just changed the behavior of its web version interface. Now no one can view more than a few users' profiles without being authorized on their servers first. In other words, user profiles are no longer publicly available for servers like ours.

Well that sucks. I haven't faced any issues yet but if theyve done that then everyone will face them eventually.

@mahdimaksed
Copy link

Please can anyone Share how we can fix this Instagram bridge thanks

@hamzatazi007
Copy link

Please can anyone Share how we can fix this Instagram bridge thanks

khoya l9iti l7al ?
did you find a solution ?

@mr-bobdobalina
Copy link

For those with TT-RSS, i've started using the ff_instagram plugin again. The developer of the plugin is aware of the rate limiting and is hoping to implement some changes soon (if not already). I have yet to really hammer IG so I don't know if the rate limiting is affecting me yet.

@infeeeee
Copy link

infeeeee commented Aug 29, 2019

Today it started working for me again. It stopped working about a week ago, I didn't change IP or anything, but suddenly all feeds updated, I got all posts since it was down, I can access anything public on instagram without login on my PC.

So maybe if you wait your ip will be removed from the blacklist.

Edit/Update: It lasted only for one day, I'm blocked again. Strange...

@bite-your-idols
Copy link

yes, it also came back for me but just for a day... blocked again too.

@andyS9891
Copy link

For those with TT-RSS, i've started using the ff_instagram plugin again. The developer of the plugin is aware of the rate limiting and is hoping to implement some changes soon (if not already). I have yet to really hammer IG so I don't know if the rate limiting is affecting me yet.

I had a look at their Github and they seem to use deskgram now. I am not really familiar with what deskgram is, but it seems to use the Instagram API.

@mahdimaksed
Copy link

mahdimaksed commented Aug 30, 2019 via email

@hamzatazi007
Copy link

Walo bro nta

On Thu, 29 Aug 2019, 12:08 hamzatazi007, @.***> wrote: Please can anyone Share how we can fix this Instagram bridge thanks khoya l9iti l7al ? did you find a solution ? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#1271?email_source=notifications&email_token=ANA45PXIWTF6OHCLWTUFVFLQG6UZ5A5CNFSM4IO6MF6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5ODZBI#issuecomment-526138501>, or mute the thread https://github.com/notifications/unsubscribe-auth/ANA45PSWXXTUFLBRFM2QGSTQG6UZ5ANCNFSM4IO6MF6A .

khoya pass l face diyalk bach ila l9it l7al wla l9iti nta l7el , ntawno .

@hamzatazi007
Copy link

Did you find a solution guys? anyone

@AntoineTurmel
Copy link
Contributor

After some days it's working again for me... I guess you have to wait for your IP to be removed from blacklist... An other possible workaround: a modified bridge with authentication...

@teromene
Copy link
Member

teromene commented Sep 7, 2019

I haven't been able to reproduce on my server. Is it still occurring ?

@batarchi
Copy link

batarchi commented Sep 8, 2019

Please can anyone Share how we can fix this Instagram bridge thanks

khoya l9iti l7al ?
did you find a solution ?

khoya l9iti lhal wla mzl ?

@somini
Copy link
Contributor

somini commented Sep 9, 2019

I haven't been able to reproduce on my server. Is it still occurring ?

I guess my IP is still blocked...

@hamzatazi007
Copy link

Please can anyone Share how we can fix this Instagram bridge thanks

khoya l9iti l7al ?
did you find a solution ?

khoya l9iti lhal wla mzl ?

khoya soufiane walo mazal lmochkil

@Legalien
Copy link

Legalien commented Sep 9, 2019

I'm also having a problem. Either blank feed, or this:

Image of Legalien

What's the problem, what's the solution?

@teromene
Copy link
Member

teromene commented Sep 10, 2019

I have pushed an attempt at a fix in ccef6b9, can you please tell me whether it works or not ?
Additionally, I have been unable to fix the "locations" feature as it seems that it now always requires login in in order to work

@bite-your-idols
Copy link

just updated my server installation, it seems it works by now. Thanks a lot!!

@Legalien
Copy link

Yay that fixed it. Teromene the best! Thank you :)

@hamzatazi007
Copy link

Yay that fixed it. Teromene the best! Thank you :)

Could you tell me how to use the fix please , Because i download the script and the issue is still there.

@Legalien
Copy link

Well, I basically just copied the InstagramBridge code from here on Github.

Then I opened InstagramBridge.php on my hosting and pasted in the code and saved.

Then I tried, and things worked.

@hamzatazi007
Copy link

Well, I basically just copied the InstagramBridge code from here on Github.

Then I opened InstagramBridge.php on my hosting and pasted in the code and saved.

Then I tried, and things worked.

What hosting do you use ?

@Legalien
Copy link

Hmm... would you like my bank account information also?

haha just kidding 😄

I use Hostgator.

@hamzatazi007
Copy link

Hmm... would you like my bank account information also?

haha just kidding 😄

I use Hostgator.

Thanks man , Maybe my issue is I'm using a shitty hosting (inceptionhosting.com)
It does not even give me the option to change the PHP version, Maybe that what cause this.

@somini
Copy link
Contributor

somini commented Sep 10, 2019

All hail @teromene ! Many thanks.

Are the magical values of USER_QUERY_HASH something you copied from your own IP? Since a couple of people have already used that, does that count towards your rate limit?

@somini
Copy link
Contributor

somini commented Sep 10, 2019

Yay that fixed it. Teromene the best! Thank you :)

Could you tell me how to use the fix please , Because i download the script and the issue is still there.

That commit is on the latest master branch, so you can install RSS Bridge as you did the first time.


Let's keep this issue on-topic, there are now 19 people getting emails for each comment done here.

@aware2
Copy link

aware2 commented Sep 10, 2019

thanks for the fix ! however, for posts with multiple photos, images do not appear. in my agregator, the post is there, but empty, without image.

@teromene
Copy link
Member

Are the magical values of USER_QUERY_HASH something you copied from your own IP?

No, they should be constants.

thanks for the fix ! however, for posts with multiple photos, images do not appear. in my agregator, the post is there, but empty, without image.

I'll take a look

@teromene
Copy link
Member

I am also aware of an issue where the bridge can fetch the wrong profile page. I will try to push an update tomorrow.

@IceWreck
Copy link
Contributor

Thanks @teromene

@teromene
Copy link
Member

Everything should now be fixed with 48ebed7

@aware2
Copy link

aware2 commented Sep 11, 2019

Thanks !

@somini
Copy link
Contributor

somini commented Sep 12, 2019

I guess this can be closed now that this is included on the latest release.

https://github.com/RSS-Bridge/rss-bridge/releases/tag/2019-09-12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests