title: Android - How to update Status on Facebook attaching a picture
body: <p>I'm using the Facebook's SDK for Android. I'm using the newStatusUpdateRequest() method to update my Status with a simple message, it works fine. But I don't find the way to attach a picture or an URL to the post.</p>
  
  <pre><code>private void postStatusUpdate() {
          if (canPresentShareDialog) {
              FacebookDialog shareDialog = createShareDialogBuilderForLink().build();
              uiHelper.trackPendingDialogCall(shareDialog.present());
          } else if (user != null &amp;&amp; hasPublishPermission()) {
              final String message = getString(R.string.status_update, user.getFirstName(), (new Date().toString()));
              Request request = Request
                      .newStatusUpdateRequest(Session.getActiveSession(), message, place, tags, new Request.Callback() {
                          @Override
                          public void onCompleted(Response response) {
                              showPublishResult(message, response.getGraphObject(), response.getError());
                          }
                      });
              request.executeAsync();
          } else {
              pendingAction = PendingAction.POST_STATUS_UPDATE;
          }
      }
  </code></pre>
  
  <p>I was reading also this link, with all the facebook API methods, but I can't find the way to post both in my Status: a message and a picture:</p>
  
  <p><a href="https://developers.facebook.com/docs/reference/android/3.0/class/Request/#newStatusUpdateRequest" rel="nofollow">https://developers.facebook.com/docs/reference/android/3.0/class/Request/#newStatusUpdateRequest</a></p>
  
  <p>Has anyone solved already a similar problem?</p>
  
  <p>Update. I think to post a picture I should use the method:</p>
  
  <pre><code>public static Request newGraphPathRequest(Session session, String graphPath, Callback callback)
  </code></pre>
  
  <p>Where graphPath should be the link to the picture. But I don't know how to join both, message and picture in the same Request.</p>
  
  <p>Thanks you very much for your time</p>