2

I'm using facebook sdk to share details to facebook and it works fine. Now my question, is there a way to set description to "What's on your mind?" text field.

enter image description here

Ramesh
  • 1,252
  • 3
  • 12
  • 30
  • I'm not an android guru. That usually called as PlaceHolder. Please try to do like this (http://stackoverflow.com/questions/8221072/android-add-placeholder-to-edittext) – Suresh Atta Jul 03 '14 at 11:27
  • Hi Suresh, thank you for quick reply, but that's not what i'm looking for. Actually when we share something to facebook in android the facebook app shows the above screen and allows the user to type something in "What's on your mind?" text field. Along with that it also shows the details what we passed to facebook app in template format(you can see one image and text called "abcd"), so i would like to show this text "abcd" directly in "What's on your mind?" text field instead of showing it in template. – Ramesh Jul 03 '14 at 11:36

1 Answers1

3

Feed Dialogs (deprecated) used to have a message parameter earlier, but facebook removed. Also, there's no way to pre-populate the message in the Share Dialog.

They have removed this purposely in the UI Dialogs. If you are posting a feed using the API (not dialog), then only you can populate the message with message parameter.

The abcd text is the description of the link that you (or the link admin) have provided; but the message is related to user and in case of dialogs, facebook expects that the user himself should give any message if he wants to, it should not be app-written.

Sahil Mittal
  • 20,697
  • 12
  • 65
  • 90