Question: I want to share a custom text status using facebook sdk in my android app.

I used [this facebook tutorial](https://developers.facebook.com/docs/android/share) 

```
FacebookDialog shareDialog = new FacebookDialog.ShareDialogBuilder(MainActivity.this)
                .setLink("https://developers.facebook.com/android")
                .build();
                uiHelper.trackPendingDialogCall(shareDialog.present());

```

but how can I share text (not link)?

Answer: 
By using FacebookDialog (Facebook API) you cannot add message programmatically
Try this way,hope this will help you to solve your problem.

```
 private FacebookDialog.ShareDialogBuilder createShareDialogBuilderForLink() {
            return new FacebookDialog.ShareDialogBuilder(mActivity)
            .setName(mTitle)
            .setDescription(mDescription)
            .setLink(mUrlShare);
        }

```