react-native-instagram-login icon indicating copy to clipboard operation
react-native-instagram-login copied to clipboard

403 Error [URGENT]

Open Dlas1212 opened this issue 3 years ago • 15 comments

Calling 'https://api.instagram.com/oauth/access_token' returning Forbidden 403. Started yesterday randomly.

I am on the latest version too.

Dlas1212 avatar Dec 17 '21 14:12 Dlas1212

+1

unixkapl avatar Dec 17 '21 15:12 unixkapl

+1

alyn3d avatar Dec 17 '21 20:12 alyn3d

same happening with me

saurabhjayx avatar Dec 18 '21 10:12 saurabhjayx

As far as I can tell there's an issue with the redirectUrl Still haven't figured how to solve it.

alyn3d avatar Dec 20 '21 13:12 alyn3d

What I noticed is that when it's first time I logged into IG then it worked just fine, and if it's second attempt so browser kinda had already remembered my account - it failed with 403.

I suppose it is the cookies issue, as it returned html page with the text that said smth about cookies couple times.

Tymofiev avatar Dec 21 '21 11:12 Tymofiev

What I noticed is that when it's first time I logged into IG then it worked just fine, and if it's second attempt so browser kinda had already remembered my account - it failed with 403.

I suppose it is the cookies issue, as it returned html page with the text that said smth about cookies couple times.

I don't think so, because I tried with props incognito but it still gets that issue.

hungdev avatar Dec 22 '21 02:12 hungdev

+1

sujay-bidchat avatar Dec 22 '21 09:12 sujay-bidchat

Adding to all the above comments. This issue comes only for Android. It works perfectly fine for iOS every time. Even it works every time on Postman too.

sujay-bidchat avatar Dec 22 '21 09:12 sujay-bidchat

@sujay-bidchat were you able to find a solution for this?

nimit07 avatar Jan 02 '22 19:01 nimit07

@nimit07 I have found a workaround for this issue. You can send the "code" to BE (Back End) and let them get the access_token for you. This is what I've done.

@sujay-bidchat were you able to find a solution for this?

sujay-bidchat avatar Jan 03 '22 08:01 sujay-bidchat

Having the same issue. Any workaround or Fix?

saurabh-cimpress avatar Jan 03 '22 13:01 saurabh-cimpress

Workaround that I ended up using is this

alyn3d avatar Jan 10 '22 12:01 alyn3d

Workaround that I ended up using is this

I have done the same as mentioned above.

sujay-bidchat avatar Jan 10 '22 12:01 sujay-bidchat