Can any one help to explain me how to post status with photos(not one photos) using graph api;
I try to add photos to
com.restfb.FacebookClient facebookClient = new DefaultFacebookClient(user.getSnToken());
FacebookType type = facebookClient.publish(timeline + "/feed", FacebookType.class,binaryAttachment, Parameter.with("message", message));
return new PublishFacebookResult(Const.OK, type.getId());
If it's about why it does not show decent on the facebook Feed
Facebook works as the following.
But a single post can never have multiple pictures. Only an entry that mentions new photos were added to a certain album. So if you comment on that entry, those comments go to the Album comments.
You can not post multiple photos and see them as one single stream entry. Only if Facebook feels like it, it will show in the stream that new photos were added to an album or created. In that case you see multiple thumbnails.
If its pure about being able to upload multiple photos in one API call
you have to do separate API calls, on call per photo by default. Api does not support multi upload for photos.
Edit : Do note that the Facebook platform is continuously changing, so this information could be outdated at some point, but the API still does not support multiple images upload.