Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App redirect_uri issue with Instagram #4

Open
NirmitDagly opened this issue Aug 8, 2016 · 1 comment
Open

App redirect_uri issue with Instagram #4

NirmitDagly opened this issue Aug 8, 2016 · 1 comment

Comments

@NirmitDagly
Copy link

Hello,
I am developing iOS application and used this repo for integration of Instagram into project. I have followed the readme and also googled about how to open the app after successful login into Instagram and generating token. But In my case, I am not able to redirect into application.

Here is what happening..

When I am trying to define redirect_uri to Instagram, it is always telling me to register with http:// or https:// only and not by my app name just like xyz:// which is defined as per the custom URL scheme.

Now, when I have set the redirect_uri based on the http://xyz and configure the same into custom URL scheme in my XCode project, this won't allow the app opening automatically and redirects to the web page in safari.

So, I would like to know the possible workaround for this. Any help will be appreciated.

@D-32
Copy link
Owner

D-32 commented Aug 11, 2016

It seems Instagram indeed doesn't allow you to enter anything else than http/https. When I created this app that was still possible.
Maybe the server you use as a redirect uri could redirect the user to your custom schema and open the app like that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants