Uploading photos to Facebook: Adding parameters before executing the newUploadPhotoRequest call gives the 'OAuthException' error
Summary: Trying to post an image, and description on Facebook. If the image URL is null, I use a local drawable default image to upload to photos. To upload the local image, I am using the following code: My code: Request.Callback uploadPhotoRequestCallback = new Request.Callback() { @Override public void onCompleted(Response response) { if (response.getError() != null) { //post error } else{ String uploadResponse = (String) response.getGraphObject().getProperty("id"); if (uploadResponse is valid) { parameters.putString("message", description); } else { //error } } } }; Request request =