title: Facebook Open Graph, can I upload a User Generated Photo (as opposed to sending a URL)?
body: <p>I've read the documentation <a href="https://developers.facebook.com/docs/opengraph/usergeneratedphotos/" rel="nofollow">here</a>.</p>
  
  <p>I have an action, "cook", which is applied to an object "recipe". I want to allow the user to post a photo of their cooking when they perform the action.</p>
  
  <p>I would like to have the photo hosted on Facebook. Is there any way to post the actual image data as part of the request, rather than posting a URL to the user generated photo?</p>
  
  <p>The docs say</p>
  
  <blockquote>
    <p>The photo used will NOT be taken from the object's meta data og:image tag. Instead, it is passed with the POST</p>
  </blockquote>
  
  <p>and</p>
  
  <blockquote>
    <p>The photo will be uploaded and placed in a Facebook photo album titled after the "App Display Name" for that app</p>
  </blockquote>
  
  <p>but they also mention that the <code>image[0][url]</code> property is required.</p>
  
  <p>The context is an iOS app: the user takes a photo on the device and wishes to post it to Facebook. To get a URL to the image, I'd obviously have to do an upload to some web hosting somewhere as a separate step, which would be harder to code and would require some hosting.</p>