Add a predefined message to a Facebook "Post to Your Wall" dialog using FB.ui
facebook, facebook-graph-api, javascript
Solution
It has been removed from FB API since Jan 1st, 2012 and completely removed after July 5th, 2012. see http://developers.facebook.com/docs/fbjs/
So nowadays you cannot specify the text of the message in any way.
Problem
I'm using `FB.ui` (https://developers.facebook.com/docs/reference/javascript/FB.ui/) to create the "Post to Your Wall" feature on my website: ``` var new_post = { method: 'feed', link: '/path/to/my/site', picture: '/path/to/image.jpg', name: 'My Site', caption: 'Lorem', description: 'Ipsum', message: 'Check out this link, guys!' //this does not work }; FB.ui(new_post, callback_defined_somewhere); ``` How do I add a predefined message to the post, e.g. "Check out this link, guys!" I've tried adding the `message` parameter to the `new_post` object, but that doesn't seem to work. When the dialog is shown, focus is on the text box, with `Say something about this...` instead of the `Check out this link, guys!` message. Any suggestions?