I am attempting to integrate the Instagram API into my app. I am using the code in this library as I have seen others do with success. I am able to sign into Instagram and make it to the authorization page. When I click on authorize, I end up getting the error toast from the listener which gives me the error "net:ERR_CONNECTION_REFUSED". I have been stuck on this for hours and have not found a solid answer to this issue. I'm hoping someone can help me get around this as I feel I am very close to getting this to work. Thanks.
One of the things that can cause this problem is that the redirect_url needs to point to an instagram://
url instead of a http://
or https://
one. Using
instagram://connect
seems to make the ERR_CONNECTION_REFUSED go away.