my codes to upload video:
request = Request.newUploadVideoRequest(Session.getActiveSession(), new File("/mnt/sdcard/DCIM/Camera/VID_20130317_185519.3gp"), FBRequestCallbacker);
Bundle params = request.getParameters();
if (!mPost.getDescription().equals("")) {
params.putString("description",mPost.getDescription() + " \n\n" + footer.toString());
} else {
params.putString("description", footer.toString());
}
if (!mPost.getDescription().equals("title")) {
params.putString("title", mPost.getTitle());
}
request.setParameters(params);
request.executeAsync();
There is no error returned from the callback function, i.e. response.getError() == null. However, Facebook website returns "Your video could not be processed. Visit the Video help page to learn about common problems." and there is no way to check further down.
Any idea? Thank you very much.