android - ShareLinkContent has small image -
i'm getting problem sharelinkcontent. . shared pic below through app. have problem size of image
main image
i shared pic through app, shared post display 
based on what? can result him. why such small image result in sharing?
sharelinkcontent linkcontent = new sharelinkcontent.builder() .setimageurl(uri.parse(post_image_url)) .setcontenttitle(party.gettitle() + " - " + utility.convertdbdateforpartydisplayformat(party.getdate_time_start())) .setcontentdescription(post.getmessage() + " - " + post.getnick_name() + " \n@ " + party.getstore_name()) .setcontenturl(uri.parse(urlmanager.facebook_app_link + "?type=past_party&id=" + party_id)) .build(); sharedialog.show(linkcontent);
read image sizes best practices facebook https://developers.facebook.com/docs/sharing/best-practices based on image size set setimageurl() changes.if want image larger in share need send larger image shown in above link.


Comments
Post a Comment