1
我的Facebook应用的状态和评论反馈建议不要在墙上张贴时预先填写文本。但是我可以在Facebook Graph API文档Graph API Publishing section中找到使用message
参数。
Facebook SDK图形API在墙上张贴消息
Bundle params = new Bundle();
params.putString("message", "This is a test message");
/* make the API call */
new GraphRequest(
AccessToken.getCurrentAccessToken(),
"/me/feed",
params,
HttpMethod.POST,
new GraphRequest.Callback() {
public void onCompleted(GraphResponse response) {
/* handle the result */
}
}
).executeAsync();
我已经验证它,它工作正常。根据更新的Facebook政策允许吗?
https://developers.facebook.com/docs/apps/review/prefill – CBroe