title: Facebook photo sharing (& October 2013 breaking changes)
body: <p>I'm building on a website for a client and the core functionality of it is to share photos with other users over Facebook.
  So, what I've done is:</p>
  
  <ul>
  <li>user picks a photo he likes and clicks the "share" button</li>
  <li>script triggers Facebook "Friend Picker" popup</li>
  <li>user picks a friend he wants to share the photo with and clicks "OK"</li>
  <li>script triggers ajax request to the server which uploads the specific photo on the timeline of chosen friend</li>
  </ul>
  
  <p>Here's the php photo sharing code:</p>
  
  <pre><code>$facebook = new Facebook($config);
  $facebook-&gt;getAccessToken();
  $user_id = $facebook-&gt;getUser();
  $body = array(
                 'source'  =&gt; '@' . CURR_DIR . $photo-&gt;path,
                 'message' =&gt; ''
               );
  
  if ($user_id) 
  {
      try
      {
          $result = $facebook-&gt;api('/' . $fbid . '/photos', 'post', $body);
      } 
      catch (FacebookApiException $e) 
      {
          echo $e-&gt;getMessage();
      }
  }
  </code></pre>
  
  <p>So far this works beautifully, so my question is:</p>
  
  <p>After the Facebook's "<a href="https://developers.facebook.com/blog/post/2013/06/26/october-2013-platform-changes/" rel="nofollow">October 2013 breaking changes</a>", they will be "removing the ability to post to friends' timelines via API".
  They advise usage of <a href="https://developers.facebook.com/docs/reference/dialogs/feed/" rel="nofollow">feed dialog's</a> from that point on.
  So - how to upload a photo on a specific user's timeline using feed dialog's?
  Is this even possible (because looking at the <a href="https://developers.facebook.com/docs/reference/dialogs/feed/" rel="nofollow">feed documentation page</a>, I don't think it is...)?</p>