I want to share a graphic URL with a link. I used to use shareLinkContent to share the image and URL, but now it does not work.
shareDialog = new ShareDialog(activity);
ShareLinkContent content = new ShareLinkContent.Builder()
.setImageUrl(Uri.parse(image)).setContentUrl(Uri.parse(shareUrl))
.build();
shareDialog.show(content);
this is my code, which it only divides into content. Url does not use an image Url.Is there is another way to share the link with the image on Facebook. Please help me solve this problem.
source
share