0
我正在嘗試使用FB發送對話框API。除了一個特定的用戶以外,它適用於大多數用戶。Facebook發送對話框:發生錯誤。請稍後再試
FB.init({appId: fbappid, xfbml: true, cookie: true});
FB.getLoginStatus(function(response) {
if (response.status === 'connected') {
FB.ui({
method: 'send',
to: 'username',
display: 'iframe',
name: 'I just suggested a time and place',
link: linkval,
picture: 'http://'+domain+'/img/cupicon.png',
access_token: response.authResponse.accessToken // **This should work and tested** also!!!
})
};
});