title: "Invalid platform app" error using Instagram Basic Display API
body: <p>I am trying to use Instagram Basic display API but when I post the authorization code to get the access token I keep getting the following error</p>
  <blockquote>
  <p>{&quot;error_type&quot;: &quot;OAuthException&quot;, &quot;code&quot;: 400, &quot;error_message&quot;:
  &quot;Invalid platform app&quot;}</p>
  </blockquote>
  <p>I am following all the steps mentioned here -&gt; <a href="https://developers.facebook.com/docs/instagram-basic-display-api/getting-started" rel="noreferrer">https://developers.facebook.com/docs/instagram-basic-display-api/getting-started</a> and Yes I am using the Instagram app ID and It's client secret which is in <code>Products -&gt; Instagram -&gt; Display</code> and following is the URL I am sending the request</p>
  <p>&quot;https://api.instagram.com/oauth/access_token?client_id=&quot;.$app_id.&quot;&amp;client_secret=&quot;.$app_secret.&quot;&amp;grant_type=authorization_code&amp;redirect_uri=&quot;.$redirecturi.&quot;&amp;code=&quot;.$code,</p>