I use this code to share image and link on facebook:
private void shareLinkToFacebook(int idBeer){
ShareLinkContent content = new ShareLinkContent.Builder()
.setImageUrl(Uri.parse("https: link to image"))
.setContentTitle("Beer")
.setContentDescription(
"Test Comment")
.setContentUrl(Uri.parse("http://alexandreccarmo.com"))
.build();
ShareApi.share(content, null);
}
This code worked well but, I need to set the message. How can I set message?