ShareLinkContent has small image

I'm getting a problem about ShareLinkContent. . I shared this pic below through my App. I have a problem about the size of the image

main image

I shared that pic through my App, then the shared post display like this

but I want a display post like this

based on what? so can I get result like him. why do I get 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);

Answers


Read the Image Sizes best practices by facebook https://developers.facebook.com/docs/sharing/best-practices based on the image size you set to the setImageUrl() it changes.If you want image larger in the share you need to send the larger image as shown in the above link.


Need Your Help

Issue in running loop php

php loops curl

I have written a code to do curl from text area from multiple url to store response data from URL. The problem is the programming is only repeatedly storing the first data only again and again in

ImportError: Could not import settings 'health_tweets.settings' No module named health_tweets.settings

python django apache .htaccess django-settings

I am deploying the django site with Apache2. When I was trying to execute manage.py, it goes to