javascript - Facebook throws error without code -
facebook throws me unknown error:
"error acquired. please try again later."
there no error in firefox console.
my javascript source is:
(function () { function requestcallback(response) { var message = document.getelementbyid("success_message"); if (message) { if (typeof response.error_code != 'undefined') { message.innerhtml = 'wrong'; } else { message.innerhtml = 'success'; } } } var vkinvite = function () { if (typeof fb == 'undefined') { settimeout(vkinvite, 100); } else { console.log("try use facebook... fb.init"); fb._initialized = false; fb.init({ appid: 'xxxxxxxxxxxxxx', frictionlessrequests: true }); (function sendrequestviamultifriendselector() { console.log("try use facebook... fb.ui"); fb.ui({ method: 'apprequests', message: 'message.' }, requestcallback); })(); } }(); })();
how diagnose output of facebook framework?
there no error. access dialogue window has been changed facebook.
https://developers.facebook.com/docs/reference/dialogs/requests/
requests available games on facebook.com or ios , android apps. accepting request game direct person canvas page url of app sent request. native mobile apps, accepting request direct person app on device if installed or appropriate location (apple app store or google play) download app otherwise.
Comments
Post a Comment