Live data from Hacker News

Ask HN: Does anyone else have problems with Instagram API OAuth2?

news.ycombinator.com

61–70 of 82 posts

Re: Ask HN: Does anyone else have problems with Instagram API OAuth2?

#61

We're experiencing the same issue here. Reports from multiple clients over the last few days. Surely enough checking the logs yields an invalid_credentials error. Trouble is, we can't faithfully reproduce the issue from our network, but clients are reporting failures to authenticate every time they try! Have contacted Instagram for an update. Anyone else still experiencing the issue?

Same here, we are still getting this error.

Re: Ask HN: Does anyone else have problems with Instagram API OAuth2?

#63

We started having same issue since last Friday (Dec. 15, 2016) after working fine for months. Same user can login via oauth on one wifi, but not on the other, or even on mobile cellular network. And even when it worked on that wifi at one point, it does not work at other times. We have not found a workaround to fix this, reported to Instagram 24 hours ago, waiting...I tried to login to my account on instagram.com fir…

Update: as of now, All of our accounts are magically working. I did asked my facebook friends to pass the issue's urgency to Instagram team.

Just checked again, we're still seeing issues. I can reproduce, simply by using my personal account in a private window, it randomly fails in at least one of our environments (e.g. prod, staging, localhost).

Re: Ask HN: Does anyone else have problems with Instagram API OAuth2?

#64
I've managed to work around this by changing the API host name from 'api.instagram.com' to 'www.instagram.com' for the Oauth authentication flow.

Here's my fork for the omniauth-instagram Ruby gem, which is now allowing me to consistently log in: https://github.com/stefl/omniauth-instagram/blob/master/lib/...

Re: Ask HN: Does anyone else have problems with Instagram API OAuth2?

#65
post #64

I've managed to work around this by changing the API host name from 'api.instagram.com' to 'www.instagram.com' for the Oauth authentication flow. Here's my fork for the omniauth-instagram Ruby gem, which is now allowing me to consistently log in: https://github.com/stefl/omniauth-instagram/blob/master/lib/...

For me it doesn't works. I changed from 'api.instagram.com' to 'www.instagram.com' for the Oauth - have one "302 redirect" back to my site with "error 400". Strange...

Re: Ask HN: Does anyone else have problems with Instagram API OAuth2?

#66
post #64

I've managed to work around this by changing the API host name from 'api.instagram.com' to 'www.instagram.com' for the Oauth authentication flow. Here's my fork for the omniauth-instagram Ruby gem, which is now allowing me to consistently log in: https://github.com/stefl/omniauth-instagram/blob/master/lib/...

For me it doesn't works. I changed from 'api.instagram.com' to 'www.instagram.com' for the Oauth - have one "302 redirect" back to my site with "error 400". Strange...

Ditto here, it comes and it goes, but I can see this switch doesn't help our overall fail rate.

Re: Ask HN: Does anyone else have problems with Instagram API OAuth2?

#67
post #66

Earlier quoted context omitted.

For me it doesn't works. I changed from 'api.instagram.com' to 'www.instagram.com' for the Oauth - have one "302 redirect" back to my site with "error 400". Strange...

Ditto here, it comes and it goes, but I can see this switch doesn't help our overall fail rate.

Okay, thought I'd mention it because it's had such a significant effect for me. So that possibly means that in my case the Auth0 Instagram connection is something to investigate further.

Re: Ask HN: Does anyone else have problems with Instagram API OAuth2?

#68
post #67
post #66

Earlier quoted context omitted.

Ditto here, it comes and it goes, but I can see this switch doesn't help our overall fail rate.

Okay, thought I'd mention it because it's had such a significant effect for me. So that possibly means that in my case the Auth0 Instagram connection is something to investigate further.

Same here, made the change a couple of days ago and saw no change in failures.

Re: Ask HN: Does anyone else have problems with Instagram API OAuth2?

#69
post #67
post #66

Earlier quoted context omitted.

Ditto here, it comes and it goes, but I can see this switch doesn't help our overall fail rate.

Okay, thought I'd mention it because it's had such a significant effect for me. So that possibly means that in my case the Auth0 Instagram connection is something to investigate further.

'twas definitely worth a shot; no worries

Re: Ask HN: Does anyone else have problems with Instagram API OAuth2?

#70

I have just tried different environments we have with different users that were consistently failing last week (even this morning) and I have been able to get an access token using the server approach. Can anybody else test with their apps if the problem is fixed for you? Fingers crossed.

What exactly is the server approach?
Post reply on HN