I am trying to share play store URL from my application with some my title and description but I an not getting content and title of application on shared data. Please can anybody help me out.
here is my code,
if (ShareDialog.canShow(ShareLinkContent.class)) {
ShareLinkContent linkContent = new ShareLinkContent.Builder()
.setContentTitle("My Application")
.setContentDescription("Check out My Allpication.")
.setContentUrl(Uri.parse("https://play.google.com/store/apps/details?id=com.facebook.katana"))
.build();
shareDialog.show(linkContent);
} else {
Toast.makeText(ActivityOptions.this, "There is no Facebook application available.", Toast.LENGTH_LONG).show();
}