Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Automatic login with Instagram API

Tags:

ios

instagram

I'm developing an app for iOS devices using Instagram API. I registered my application and I got my client ID, client SECRET and I added my web site redirect uri for the authentication success or not. In my app the user can login with username and password of Instagram but I'd like to do it automatically. I want to show a button "Login with your Instagram account" and when this button is tapped, if there is Instagram app on the device and the user is logged in, the app automatically gets the access token and the client ID of the user and go! So, user don't have to insert his Instagram nickname and password. How can I do this?

I know that there are many questions about this, but that's not a duplicate question because there are no clearly solutions for this.

like image 711
lubilis Avatar asked Feb 21 '26 17:02

lubilis


1 Answers

This type of login with instagram app is not supported, currently instagram login will not open instagram app to login, it opens the instagram web login in browser, if you have already logged in using the browser then it will show an option to just accept and continue to your app, if not already logged in, user will have to login with username/password

like image 67
krisrak Avatar answered Feb 23 '26 05:02

krisrak



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!