title: Instagram API gives oauthexception
body: <p>I am developing a iOS app and I am trying to integrate Instagram API into my app so user can login with instagram, but I am getting a error message saying you must include a valid <code>client_id</code>, <code>response_type</code> and <code>redirect_uri</code> parameters</p>
  
  <p>it is working at the first time I run my project but after I restart my Mac it keeping getting this error when I run it.
  below is the code that I have</p>
  
  <pre><code>let url = String(format: "%@?client_id=%@&amp;redirect_url=%@&amp;response_type=token&amp;scope=%@&amp;DEBUG=True", arguments: [INSTAGRAM_IDS.AUTHURL,INSTAGRAM_IDS.CLIENTID,INSTAGRAM_IDS.REDIRECTURL,INSTAGRAM_IDS.SCOPE])
  </code></pre>