javascript - Facebook Send Dialog: An error occurred. Please try again later -
i trying use fb send dialog api. works fine users except 1 particular user.
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 suggested time , place', link: linkval, picture: 'http://'+domain+'/img/cupicon.png', access_token: response.authresponse.accesstoken // **this should work , tested** also!!! }) }; });
the reason was getting following error: object {error_code: 100, error_msg: "viewer+cannot+message+specified+recipients."}
this permissions issue based on given user has setup.
Comments
Post a Comment