title: Share an image and a link to my android app using Facebook sdk
body: <p>In my camera app for Android i would like to share a photo taken by the user to the user's facebook wall. I would like it has:</p>
  
  <ol>
  <li>a text description written by the user (like in a shareDialog)</li>
  <li>the image taken with my camera app</li>
  <li>the link to the image itself in the album (to swipe to the previously uploaded ones)</li>
  <li>some text (caption+description) about my app</li>
  <li>a link to my app (with icon?) in google play</li>
  </ol>
  
  <p>Here's a picture of what i want: (tweet-to-facebook posts are very similar to this, so i think it can be done!)</p>
  
  <p><img src="https://i.stack.imgur.com/wtyuc.png" alt="enter image description here"></p>
  
  <p>How to achieve this?<br>
  Should i use Open Graph?<br>
  I tried following developers.facebook tutorials, but i failed!! i think samples are buggy! It's very frustrating...</p>
  
  <p>Please help, i need someone to show me the right way!</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>actually this is my code, no foto is shown:</p>
  
  <pre><code>private void shareWithFacebookOpenGraph(String pathToImage) {
      Log.i("SHARE", "1. share with OpenGraph");  
      OpenGraphObject photo = OpenGraphObject.Factory.createForPost("myapp:photo");
      photo.setProperty("title", "MyApp Photo");
      photo.setProperty("image", "http://play.google.com/to_my_app_launcher_icon");
      photo.setProperty("url", "http://play.google.com/to_my_app");
      photo.setProperty("description", "Image taken with myApp for Android");
  
      List&lt;File&gt; files = new ArrayList&lt;File&gt;();
      files.add(new File(pathToImage));
  
      OpenGraphAction action = GraphObject.Factory.create(OpenGraphAction.class);
      action.setProperty("photo", photo);
  
      FacebookDialog shareDialog = new FacebookDialog.OpenGraphActionDialogBuilder(this, action, "myapp:take", "photo")
          //.setImageAttachmentFilesForObject("image", files, true)  // Error: image is not a property
          //.setImageAttachmentFilesForAction(files, true)        // Error sharing pictue: null
          //.setImageAttachmentFilesForObject("photo", files, true) // can't create Collection (?!?!)
          .build();
      uiHelper.trackPendingDialogCall(shareDialog.present());
  }
  </code></pre>