i want post a message on a facebook wall, i integrated facebook sdk in my project and i was coded like this, but there is no message display on facebook wall, but the information is coming from my Application…
this is the i am using for posting,
public void updateStatus(String accessToken, String message){
System.out.println("mes is "+message);
Bundle bundle = new Bundle();
bundle.putString("message", message);
facebook.dialog(this, "stream.publish", bundle, this);
}
I had the same problem. What I found from the search what is mentioned below in the Facebook documentation of the message field of the
facebook.dialog()method:message: “This field will be ignored on July 12, 2011 The message to prefill the text field that the user will type in. To be compliant with Facebook Platform Policies, your application may only set this field if the user manually generated the content earlier in the workflow. Most applications should not set this.”
You need to use the following instead: