我正在尝试从我的应用程序内部集成发布到用户的墙上。我尝试了这段代码,但是得到了如下的响应:
public void postMessageOnWall(String msg) {
Log.d("Tests", "Testing graph API wall post");
try {
String response = mFacebook.request("feed");
Bundle parameters = new Bundle();
parameters.putString("message", "dfsagfsadfsafsadf by thamil");
parameters.putString("description", "test test test");
response = mFacebook.request("feed", parameters);
Log.d("Tests", "got response: " + response);
if (response == null || response.equals("") ||
response.equals("false")) {
Log.v("Error", "Blank response");
}
} catch(Exception e) {
e.printStackTrace();
}
}
' {"error":{"message":"No node specified","type":"Exception"}}'