title: Facebook - how to upload to album from http source
body: <p>I am trying to upload a photo to an album on facebook from an http source (i.e. the file is not on the users phone).</p>
  
  <pre><code>    Bundle postParams = new Bundle();
  
       postParams.putString("name", "New photo");
       postParams.putString("link", "http://www.stackoverflow.com");
       postParams.putString("description", "description");
       postParams.putString("caption", "PictureTestApp");
       postParams.putString("picture", URL.toString());
  
       Request request = new Request(session, albID + "/photos", postParams, HttpMethod.POST, callback);
  
       RequestAsyncTask task = new RequestAsyncTask(request);
       task.execute();
  </code></pre>
  
  <p>I tried the above and it is not working, and failing with the </p>
  
  <pre><code>"error":{"message":"(#324) Requires upload file","type":"OAuthException","code":324
  </code></pre>
  
  <p>I really don't want to have to download the photo to the phone first - obviously data issues come into play.</p>
  
  <p>So:</p>
  
  <ol>
  <li><p>Can this be achieved using the facebook SDK, I know you can post to the timeline but I want the photo to go to a specific album.</p></li>
  <li><p>If not using Facebook SDK - is there another way to do this or does the photo have to come from the users local SD card?</p></li>
  </ol>
  
  <p>Thanks</p>