I'm working on a project where you choose some friends to interact with the system. When you have chosen the friends you then send them a message to the inbox. The system will not work, if the users invited are not the same as the users who are selected.
How can I prevent the user from editing the users which he are sending a message to, using the Send Dialog
?
Multi friends can be pre selected provided you get the friendlist somehow, using either their user-ids(numeric) or usernames(alphanumeric). But you don't pass array, you pass a comma separated list of user ids, like this:
FB.ui({
method: 'send',
to: '123123123,234234234',
name: 'People Argue Just to Win',
link: 'http://www.nytimes.com/2011/06/15/arts/people-argue-just-to-win-scholars-assert.html',
});
See more at : Send Dialog