2013-04-05 216 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:「瀏覽器+不能+郵件+ +指定收件人」}

這是基於一個權限問題給定用戶設置了什麼。

相關問題