I am trying to post some content to Facebook wall through my Android application. I am using the following Intent code for sharing
Intent msg = new Intent(Intent.ACTION_SEND);
msg.setType("text/plain");
msg.putExtra(Intent.EXTRA_TEXT, display_quote.getText().toString() );
startActivity(Intent.createChooser(msg, "Share Quote"));
However when i select 'Facebook' from the options which i get , i am redirected to a URL http://m.facebook.com/sharer.php and i get an error saying that "Your Link could not be shared" .
Is there any other way of posting to Facebook wall through Android application?