Re:Third-Party Instagram Apps and Websites Cease to Work
by ceejayoz on Saturday June 04, 2016 @08:40AM
(#11836119)
No, an app is explicitly forbidden from ever asking for login/password. Twitter/Facebook do the same thing.
Instead, you use OAuth to fetch an access token. This is far better for the user - they can revoke your app's access without changing passwords, and without all their other apps losing their connections.
Re:Third-Party Instagram Apps and Websites Cease to Work
by doomrobo on Saturday June 04, 2016 @12:24AM
(#11834899)
Well that's just good practice. Apps would normally ask you to log in once, receive an API token from the server, and continue to use that for the rest of the tokens lifetime. When the token expires, it'll prompt you again for your login.
Re:Third-Party Instagram Apps and Websites Cease to Work
by techdetect on Saturday June 04, 2016 @01:59AM
(#11835142)
Sure but consider that every endpoint in the API needs a login. That means that you can no longer construct a simple feed widget of a hashtag for your website.
Re:Third-Party Instagram Apps and Websites Cease to Work
by doomrobo on Saturday June 04, 2016 @11:00PM
(#11839419)
Oh, I didn't see that part. That's a lot more inconvenient.
Re:Third-Party Instagram Apps and Websites Cease to Work
by protomyth on Saturday June 04, 2016 @12:33AM
(#11834913)
We don't do that with web browsers these days. I get the feeling other apps on my PC (particularly a photo or video editor that had a "Share" function for Instagram) it would get tiresome.
Re:Third-Party Instagram Apps and Websites Cease to Work
by prdonahue on Saturday June 04, 2016 @01:25AM
(#11835055)
Sure we do. See also: bearer tokens.
Re:Third-Party Instagram Apps and Websites Cease to Work
by protomyth on Saturday June 04, 2016 @07:18AM
(#11835915)
Look at password management in browsers, that's what I meant. No one bans browsers from accessing their site.
Re:Third-Party Instagram Apps and Websites Cease to Work
by f3llowtraveler on Saturday June 04, 2016 @03:21AM
(#11835351)
There's no need to store the credentials -- you can just ask the Apple keychain to store them instead.
Re:Third-Party Instagram Apps and Websites Cease to Work
by theDoug on Saturday June 04, 2016 @12:29AM
(#11834907)
No… it could store a session token.
Re:Third-Party Instagram Apps and Websites Cease to Work
by ruffrey on Saturday June 04, 2016 @12:26AM
(#11834900)
often there is some kind of token you can snag which will last for a decent amount of time. I can't speak to the Instagram API though.
So, a app needs to ask for a login and password each time it access Instagram?