2013-04-05 142 views
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!!! 
     }) 

      }; 
    }); 

回答

0

的原因是,我发现了以下错误:对象{ERROR_CODE:100,ERROR_MSG:“浏览器+不能+邮件+ +指定收件人”}

这是基于一个权限问题给定用户设置了什么。

相关问题