我正在开发 facebook android 应用程序,但我遇到了一个问题
我正在使用下面的例子
Android/Java -- Post simple text to Facebook wall?
所以问题是这里一切正常,对话框等等,但是当它打开屏幕上传我在这里设置的 Walla 消息时
try
{
System.out.println("*** IN TRY ** ");
Bundle parameters = new Bundle();
parameters.putString("message", "this is a test");// the message to post to the wall
facebookClient.dialog(this, "stream.publish", parameters, this);// "stream.publish" is an API call
}
catch (Exception e)
{
// TODO: handle exception
System.out.println(e.getMessage());
}
它不显示我在对话框中写的消息。这有什么问题
谁能指导我..
非常感谢。
最佳答案
消息已被忽略。您可以在这里阅读:https://developers.facebook.com/docs/reference/dialogs/feed/
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.
关于android Facebook : Not showing my Message in dialog,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7103915/