title: Android - Error Posting Image on Facebook Wall with Facebook SDK 4.+
body: <p>I want to post a message with an Image on Facebook Wall to one page I own.
  To do it I'm using the following code:</p>
  
  <pre><code>    private void postOnWall() {
  
      String PageAccessToken = "EAADpx4TvZCHcBAOw9fA2NaYLkwQUTx1ZCaRaxHN96HcXZCItbCCLiEVm8NmnMDZCJHDeZBR02WfEsVCciY27mtV2aXpZBWEsZC8wzyHZCSKcdQirIXyPuiLCIdCE2Y7oEcd9muMbbUvwWBH9iAzylJDG8VAljZARUG5zKZBeQpphuZCKcZCBecxf96WjwPPyZA5NeqzEZD";
      AccessToken accessToken = new AccessToken(PageAccessToken, AccessToken.getCurrentAccessToken().getApplicationId(), AccessToken.getCurrentAccessToken().getUserId(), AccessToken.getCurrentAccessToken().getPermissions(), null, AccessTokenSource.FACEBOOK_APPLICATION_NATIVE, AccessToken.getCurrentAccessToken().getExpires(), null);
  
      GraphRequest request = GraphRequest.newPostRequest(accessToken, "me/feed", null,
              new GraphRequest.Callback() {
                  @Override
                  public void onCompleted(GraphResponse response) {
                      Log.i("facebook","response "+ response);
                      FacebookRequestError error = response.getError();
                      if (error != null) {
                          Log.e("facebook","Error "+ error);
  
                      }
                  }
              });
  
      byte[] data = null;
      Bitmap bi = mImageBitmap;
      ByteArrayOutputStream baos = new ByteArrayOutputStream();
      bi.compress(Bitmap.CompressFormat.PNG, 100, baos);
      data = baos.toByteArray();
  
          String mMessage = "Message"; 
  
          Bundle postParams = request.getParameters();
          postParams.putByteArray("picture", data);
          postParams.putString("message", mMessage);
          postParams.putString("link", "https://play.google.com/store/apps/details?id=br.com.cfb.doar");
          request.setParameters(postParams);
          request.executeAsync();
  
  }
  </code></pre>
  
  <p>I'm getting the following response from GraphRequest :</p>
  
  <pre><code>{Response:  responseCode: 400, graphObject: null, error: {HttpStatus: 400, errorCode: 100, errorType: OAuthException, errorMessage: Invalid parameter}}
  </code></pre>
  
  <p>What I'm doing wrong?</p>
  
  <p>Thank you in advance.</p>