title: Facebook Graph API upload photos for public
body: <p>I have successfully uploaded the photos through Facebook graph API , but the APPS allowing only for friends but it is not viewing for friends of friends.</p>
  
  <p>This is my coding to upload photo into album</p>
  
  <pre><code>$photo_details = array('message'=&gt; 'Padswapp Photos','no_story' =&gt; 1);
  $photo_details['image'] = '@' . realpath($t_name["tmp_name"][$i]);
  $upload_photo = $facebook-&gt;api('/'.$album_uid.'/photos', 'post', $photo_details);
  </code></pre>
  
  <p>Can anyone help how i have to upload the photos as Public.</p>
  
  <p>Thanks in advance</p>