This is unfortunately, very poor documented, and I haven't been able to generate an access_token
for iOS.
I followed How to get an Instagram Access Token
Got my id and secret, along with the redirect URI, and there are a couple of issues:
- Can't get to register the URL scheme of the redirect URI, as Instagram explicitly asks for and
https://youcallback.com
, what is the scheme? - If I use the callback from OAuthSwift example, it does redirect, but I get this error and when I check, the URL fragment is
nil,
even though when I test it on the browser, I do get anaccess_token
. I also tried an external, and internal WebView.
serverError[No access_token, no code and no error provided by server]