I Can\'t able to upload the images on the facebook from SD card...I used below code....but it did not give me error but at the same time it did not upload the images
You have to do this:
mAsyncRunner = new AsyncFacebookRunner(fbObj);
mAsyncRunner.request(null, parameters, "POST",
new RequestListener() {
@Override
public void onMalformedURLException(
MalformedURLException e, Object state) {
// TODO Auto-generated method stub
}
@Override
public void onIOException(IOException e, Object state) {
// TODO Auto-generated method stub
}
@Override
public void onFileNotFoundException(
FileNotFoundException e, Object state) {
// TODO Auto-generated method stub
}
@Override
public void onFacebookError(FacebookError e,
Object state) {
// TODO Auto-generated method stub
}
@Override
public void onComplete(String response, Object state) {
// TODO Auto-generated method stub
Log.i("upload", "image uploaded!!!! " + response);
}
}, null);