Greetings How to share both a link and a photo in FaceBook (link and image). Well, or put a link under the photo, so that when clicked, click on the link.

    1 answer 1

    True, this is not the answer to my question, but if you have a link to a picture, you can do so (But the question was when there is no link):

    ShareLinkContent linkContent = new ShareLinkContent.Builder() .setContentTitle("Title") .setContentDescription("Description") .setImageUrl(Uri.parse("http://....")) .setContentUrl(Uri.parse("http://....").build(); ShareApi.share(linkContent, null);