simple_auth icon indicating copy to clipboard operation
simple_auth copied to clipboard

Instagram Redirect URL

Open kasunnirmala opened this issue 4 years ago • 3 comments

I am using this on mobile app. So, this open a webview screen and do all the instagram logins and so on successflully. Bu how do I get the token> And how do I generate the redirect URL, and from where should I use that?

kasunnirmala avatar Apr 01 '20 10:04 kasunnirmala

The token is available in the returned user object. As for the redirect URL, anything goes as long as it starts with HTTPS and you set up a custom URL scheme to redirect to your app when it's loaded in a browser. I wrote a complete guide here if you need more info: https://blog.maskys.com/using-the-instagram-basic-display-api-in-flutter/

MaskyS avatar Apr 30 '20 16:04 MaskyS

@MaskyS the key here is to use the "very unique URL" as opposed to my actual website URL (which breaks the redirect and my website is opened instead).

rolznz avatar Jul 19 '20 17:07 rolznz

@MaskyS, any chance to have the setup for iOS ?

bounty1342 avatar Dec 20 '21 16:12 bounty1342