I\'m using a Facebook feed dialog through JavaScript:
var p = {
method: \'feed\',
name: \'Title\',
caption: \'Subtitle - 26/02/2013\',
descriptio
There is an option in the feed dialog box for selecting the destination.Please check http://developers.facebook.com/docs/reference/dialogs/feed/
The built-in share dialog included in the JavaScript SDK doesn't include this functionality. You will instead need to create your own dropdown with the options you want and then have the share button underneath. You will then need to find the value of this dropdown and add it to the to
parameter of the FB.ui
function:
<select id="to_user">
<option value="{user_id}">My wall</option>
<option value="{page_id}">My page</option>
<option value="{group_id}">My group</option>
</select>
<script>
var p = {
method: 'feed',
to: $('#to_user').val(),
name: 'Title',
caption: 'Subtitle - 26/02/2013',
description: 'My text',
link: window.location.href
};
FB.ui(p);
</script>