title: Facebook Javascript API will Publish Album, but not finish image upload
body: <p>Okay,</p>
  
  <p>So I'm trying to upload an image to a user's profile, using the JavaScript SDK by Facebook. Essentially, I have it working—but not all the way.</p>
  
  <p>It will add an album to my photos using the App Title, which is what I want. However, it won't add the photo to the album provided in the URL parameter. See below:</p>
  
  <pre><code>// Create the album and add the image
  FB.api(
      "/me/photos",
      "POST",
  {
      "url": "https://[VALID URL]"
  },
  function (response) {
      if (!response || response.error) {
          // Log the error
          console.log(response.error);
      } else {
          console.log(response);
      }
  }
  </code></pre>
  
  <p>Like I said, something is working, because the album is showing up in my profile. But I get this error returned in the console:</p>
  
  <pre><code>Object {message: "An unknown error has occurred.", type: "OAuthException", code: 1} 
  </code></pre>
  
  <p>Any help would be greatly appreciated!</p>
  
  <p><strong>UPDATE</strong>: I figured it out. See the explanation below.</p>