Can someone point me in the right direction for publishing a post to a friendlist using the Facebook JS API? I have so far been using this code:
FB.api('me/feed', 'post', { message: msg,privacy: {value: "CUSTOM", friends: "SOME_FRIENDS", allow:selected_list}}, function(response) {
if (!response || response.error) {
console.log(response);
console.log('ERROR ERROR ERROR');
}
else {
console.log(response);
console.log('successfully sent, now reload data');
refreshData();
}
})
In this case, *selected_list* is the id for the friend list. I have also tried passing in a list of ids to post to my friends walls using a string like this: "aID,bID,c_ID,d_ID"
It seems to be posting to my own wall but not to my friends walls and more important does not show up in the friendlist feed. I can post comments on a feed easily but can't create new posts and have them shared among my friends within that list.
Any help would be greatly appreciated.