2
Through the code below, I can send a photo to the photos of the user who is logged in, and the photo is successfully sent.
But the photo goes with privacy Friends.
How do I send privately Audience?
Bundle params = new Bundle();
/* make the API call */
params.putByteArray("source", byteArray); 
params.putString("caption", "Titulo");
params.putBoolean("published", true);
new GraphRequest(AccessToken.getCurrentAccessToken(), "/me/photos", params, HttpMethod.POST, new GraphRequest.Callback() {
    public void onCompleted(GraphResponse response) {
        Log.i(TAG, response.toString());
    }
}).executeAsync();
Perfect, exactly what I needed. Thank you!
– Gustafah88