Attachment Unavailable when I post photo into group

31 views
Skip to first unread message

Miroslav Markovic

unread,
Jul 30, 2018, 2:15:55 PM7/30/18
to RestFB
Hi, 

I would like to ask you why users in the group cant see my post image? Only me can see it and another users see only message "Attachment Unavailable".

final FacebookClient fb = new DefaultFacebookClient(USER_TOKEN, Version.LATEST);
byte[] arrayImage = Files.readAllBytes(new File(imageFilePath).toPath());
JsonObject obj = fb.publish("GROUP_ID/photos", JsonObject.class,
BinaryAttachment.with("jpg", arrayImage),
Parameter.with("message", "Post my image into group"));

Thanks, 

Miro

Jurgen Debedts

unread,
Jan 18, 2019, 5:45:34 PM1/18/19
to RestFB
Miro


Jurgen

Op maandag 30 juli 2018 20:15:55 UTC+2 schreef Miroslav Markovic:
Reply all
Reply to author
Forward
0 new messages