0

FB Send Dialog API を使用しようとしています。1 人の特定のユーザーを除いて、ほとんどのユーザーで問題なく機能します。

  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!!!
      })

          };
    });
4

1 に答える 1

1

その理由は、次のエラーが発生していたためです: Object {error_code: 100, error_msg: "Viewer+cannot+message+specified+recipients."}

これは、特定のユーザーが設定した内容に基づく権限の問題です。

于 2013-04-05T20:47:17.727 に答える