I have the following JavaScript code to publish/post a message to friend's Wall, as this code publishes to only one friend's Wall. What I am trying to do is, to publish/post one message to multiple friends' Wall. Any help please...!
function postToFeed() {
// calling the API ...
var obj = {
method: 'feed',
link: 'https://developers.facebook.com/docs/reference/dialogs/',
picture: 'http://fbrell.com/f8.jpg',
name: 'Facebook Dialogs',
caption: 'Reference Documentation',
description: 'Using Dialogs to interact with users.',
to: 'FRIND_ID'
};
function callback(response) {
document.getElementById('msg').innerHTML = "Post ID: " + response['post_id'];
}
FB.ui(obj, callback);
}