1
有沒有辦法做到這一點?給多個Facebook用戶發消息
此代碼用於發送消息,但彈出窗口的框中,您可以鍵入消息 然後發送。
FB.ui({
method: 'send',
to: '100007250800729',
link:'http://www.mysite.com',
redirect_url:location.href,
message: 'A request especially for one person.',
data: 'tracking information for the user'
});
是有辦法,我可以通過執行腳本,而不將彈出這樣立即發送這樣我就可以將消息發送到多個用戶
foreach(users as user) {
method: 'send',
to: user->id,
link:'http://www.mysite.com',
redirect_url:location.href,
message: 'HEllo '.user->name.' A request especially for you.',
data: 'tracking information for the user'
}