Facebook Post To Wall Give Exception
I want to post text message to my facebook wall. My example code is: public void postOnMyFacebookWall(String msg) { Log.d('Tests', 'Testing graph API wall post'); try {
Solution 1:
key message expected byte[] but value was a java.lang.String. The default value <null> was returned.
This Error will not affect your Post on wall, But update your code , that's old method for Post in wall,Try with this code for Post in Facebook Wall :
Bundle parameters = new Bundle();
parameters.putString("message", "Text is lame. Listen up:");
parameters.putString("method", "stream.publish");
String response = ZValues.authenticatedFacebook.request(parameters);
Log.v("response", response);
Post a Comment for "Facebook Post To Wall Give Exception"