title: how to post on instagram using graph api in php
body: <p>I am trying to post on instagram using graph api but i am not able to post.</p>
  
  <p>Content Publishing
  The Content Publishing API is a subset of Instagram Graph API endpoints that allow you to publish IG Media objects on Instagram Business IG Users.</p>
  
  <p>Publishing media objects with this API is a two step process — you first create a media object container, then publish the container.</p>
  
  <p>i try all the code but stil looking for solution</p>
  
  <pre><code>POST graph.facebook.com/17841400008460056/media
    ?image_url=https//www.example.com/images/bronz-fonz.jpg
    &amp;caption=#BronzFonz
  </code></pre>
  
  <p>i try this one but code is not returning a media object</p>
  
  <p>Returning this kind of error:</p>
  
  <blockquote>
    <p>Facebook\Exceptions\FacebookResponseException
    (#3) Application does not have the capability to make this API call.
    ↵
    Caused by: Facebook\Exceptions\FacebookAuthenticationException
    (#3) Application does not have the capability to make this API call.
    in /home2/urmemesc/public_html/demoproqaz/src/Facebook/Exceptions/FacebookResponseException.php at line 142</p>
  </blockquote>
  
  <p><img src="https://i.stack.imgur.com/izON9.png" alt="enter image description here"></p>