android - ShareLinkContent has small image -


i'm getting problem sharelinkcontent. . shared pic below through app. have problem size of image

main image

enter image description here

i shared pic through app, shared post display enter image description here

but want display post enter image description here

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

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

python - pip wont install .WHL files -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -