I am trying to post a message to the users wall using the official facebook SDK for Android.
parameters.putString("method", "feed");
parameters.putString("link", "www.example.com");
parameters.putString("name", "Example Web");
parameters.putString("description", "An example website for testing.
parameters.putString("message", etMessage.getText().toString());
facebook.dialog(this, "feed", parameters,
new DialogListener() {...
Everything gets successfully addressed in the Dialog, except for the message. In the dialog, the message field is empty.
Please help,
Thanks!
As BK said, the message field is now deprecated. The only way I’ve found that you can still do this it to request the publish_stream permission and make a post directly to their wall, without letting them see the message or click “Share” (from the Facebook UI). In some cases this could be what you want though. It was for me. This tutorial was helpful in showing how to do that.
Additional note: You can create a custom dialog to let the user view or edit the message prior to posting.