title: Get access token from redirect URL for Instagram in cordova
body: <p>I have an application using cordova that retrieve user photos after login in Instagram.</p>
  
  <p>In page index.html:</p>
  
  <pre><code>&lt;a id="login" href="https://instagram.com/oauth/authorize/?client_id=MYCLientID&amp;amp;redirect_uri=http://localhost:8200/myphotos.html&amp;amp;response_type=token" &gt;Log into your Instagram&lt;/a&gt;
  </code></pre>
  
  <p>in page myphotos.html
  I get access token in url then use it.</p>
  
  <p>When i try to run it in ios/android i get error
  says:</p>
  
  <pre><code>ERR_CONNECTION_REFUSED
  </code></pre>
  
  <p>while in app setting in Instagram developer
  I set <code>REDIRECT_URI=http://localhost:8200/myphotos.html</code></p>