title: Error when publish photo on facebook page in android
body: <p>i refer this <a href="https://developers.facebook.com/docs/graph-api/reference/v2.0/page/photos" rel="nofollow">link</a> for posting photo on facebook page but every time i get following error.</p>
  
  <pre><code>{Response:  responseCode: 400, graphObject: null, error: {HttpStatus: 400, errorCode: 324, errorType: OAuthException, errorMessage: (#324) Requires upload file}, isFromCache:false}
  </code></pre>
  
  <p>Code:</p>
  
  <pre><code>Session session = Session.getActiveSession();
          if (session != null) {
  
              // Check for publish permissions
              List&lt;String&gt; permissions = session.getPermissions();
              if (!isSubsetOf(PERMISSIONS, permissions)) {
                  pendingPublishReauthorization = true;
                  Session.NewPermissionsRequest newPermissionsRequest = new Session.NewPermissionsRequest(
                          buzzreview.this, PERMISSIONS);
                  session.requestNewPublishPermissions(newPermissionsRequest);
                  return;
              }
  
  
              Bundle postParams = new Bundle();
              postParams.putString("message", "message");
              postParams.putString("url", PhotoUrl);
  
      Bundle postParams = new Bundle();
                  postParams.putString("message", message);
                  postParams.putString("url", PhotoUrl);
                  // postParams.putByteArray("url", PhotoUrl);
  
      new Request(session, "/page-id/photos", params,
                          HttpMethod.POST, new Request.Callback() {
                              public void onCompleted(Response response) {
      }).executeAsync();
  </code></pre>
  
  <p>i dont know where i am lagging. </p>
  
  <p>Please give me guidance.</p>