title: FB API send POST with image
body: <p>Could you tell me please how can I send a post with image by FB graph API?
  I have something like this (as find in many examples)</p>
  
  <pre><code>// This works fine
  $fb-&gt;api( '/me/feed', 'POST', ['message' =&gt; 'Whatever I want to send as a string...'] );
  
  // But this makes me crazy
  $fb-&gt;api( '/me/feed', 'POST', ['picture' =&gt; "http://xxx.yyy.zz/images/facebook_share.jpg"] );
  </code></pre>
  
  <p>This throws me an error "<strong>(#100) A link must be provided if a picture URL is given.</strong>"</p>
  
  <p>So I tried some modification in this form</p>
  
  <pre><code>$fb-&gt;api( '/me/feed', 'POST', ['picture' =&gt; ['url' =&gt; "http://xxx.yyy.zz/images/facebook_share.jpg"]] );
  </code></pre>
  
  <p>But this throws me an error "<strong>(#100) picture should represent a valid URL</strong>" I tried to change "url" to "link", "picture_url", "source", "src" but still the same error. </p>
  
  <p>I am at the end. Help me please.</p>