watzak / react-native-instagram-oauth

react-native interface to login to instagram (iOS)
69 stars 14 forks source link

Using the data after authentication #7

Closed 5nyper closed 7 years ago

5nyper commented 7 years ago

I'm not exactly sure how to get the data from instagram after the user has authenticated, I'm new to react native so I am wondering how I can get the access token via IG since when using the sample code in your README, it authenticates and successfully links but it doesnt go back to the app.

My guess is the redirect uri needs to be something specific other than what I already had? (redirect to my other webserver)

5nyper commented 7 years ago

Okay so far I have looked further into this and figured out how to get the process back to the app with url schemes and such, however when I do go to lets say app://#code=TOKEN nothing seems to happen, no error or logging occurs when I call `RNInstagramOAuth1

5nyper commented 7 years ago

Nevermind, I learned :)