Unable to retrieve Access Token from Instagram Plugin
Hi,
I have successfully installed the instagram plug-in. I have my developer account set up with instagram the phone gap oauth plugin installed everything is working. The login directs the user to instagram and then redirects them back to my app with the access token and code in the url but i am unable to retrieve the access token or code from the url. I was looking at the get_Access_token service and ran a test by entering a code in the request parameter and the test is successful and responds with the access token.
So my question is how can i parse the url with javascript and pull out the code and store in in a local storage variable so i can map it to the get_access_token service and and retrieve the access token. here is my url
http://appery.io/app/view/508edc7d-34...
i would like to be able to pull out the code and store it in a variable example
from what i read it is in the search portion of the url but im not sure how to write the code to retrieve it.
http://appery.io/app/view/508edc7d-34...=81a0ae1bf3a44f68ac060718508fbbc9#loggedInProfile
Please help as my app is based on the instagram connectivity
Thanks,
Bobby