I’m using android-facebook-sdk and trying to post to user’s wall. Here is my code:
Bundle params = new Bundle();
JSONObject privacy = new JSONObject();
try {
privacy.put("value", "EVERYONE");
} catch (JSONException e) {
Log.e(TAG, "Unknown error while preparing params", e);
}
params.putString("message", message);
params.putString("privacy", privacy.toString());
facebook.request("me/feed", params, "POST");
Posted messages has privacy scope visible for friends only, but i want publish to everyone. What i do wrong?
Mainly this, I’d guess:
https://developers.facebook.com/docs/reference/api/post/ says,
Is this the case in your scenario?
So if the user’s setting for what kind of privacy posts made by your app should adhere to is more restrictive than what you want to set / force while making the post, it will not work the way you want it.