I am using this code to post an image to the user wall
Bundle params = new Bundle();
params.putString("method", "photos.upload");
params.putString(
"caption",
"Download link");
JSONObject privacy = new JSONObject();
try {
privacy.put("value", "EVERYONE");
} catch (JSONException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
params.putString("privacy", privacy.toString());
byte[] imgData = takeScreenshot();
params.putByteArray("picture", imgData);
mAsyncRunner.request(albumId, params, "POST",
new SampleUploadListener(), null);
My problem is the post privacy is published not as "public" although I set it on my code to "everyone" privacy.put("value", "EVERYONE");
Is there any suggest to post it as "public"
Thanks