title: Instagram API retrieve the code using PHP
body: <p>I try to use the Instagram API but it's really not easy.</p>
  
  <p>According to the API documentation, a code must be retrieved in order to get an access token and then make requests to Instagram API.</p>
  
  <p>But after few try, I don't succeed.</p>
  
  <p>I already well-configured the settings in <a href="https://www.instagram.com/developer" rel="nofollow noreferrer">https://www.instagram.com/developer</a></p>
  
  <p>I call the url <code>api.instagram.com/oauth/authorize/?client_id=[CLIENT_ID]&amp;redirect_uri=[REDIRECT_URI]&amp;response_type=code</code> with <code>curl</code>, but I don't have the redirect <code>uri</code> with the code in response.</p>
  
  <p>Can you help me please ;)!</p>