title: Upload image to facebook fan page using Graph API
body: <p>I am trying to upload an image through my application with Facebook Graph API to an album of my fan page. Although I provide the albumID like a parameter for uploading the image, it is uploaded in an album named to my application name Photos on my own profile. The album of the fan page stays empty. I tried also with sending the pageID of my fan page instead of albumID, but the result is the same. 
  I thought there is a problem with access token but with same accessstoken i can post links to page.</p>
  
  <p>The code I use for the upload is:</p>
  
  <pre><code>    $args = array(
          'access_token'  =&gt; $access_token,
          'message'       =&gt; "$baslik",
          "source" =&gt; '@' . realpath($file)
      );                      
  
  $post_id = $facebook-&gt;api("/$page_id/photos","post",$args); 
  </code></pre>
  
  <p>Please give me ideas how can I upload the image to the fan page and not to my own profile album.</p>