Open kasunnirmala opened 4 years ago
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 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).
@MaskyS, any chance to have the setup for iOS ?
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?