我使用 Facebook JDK 登录时遇到以下错误,很确定这只是在过去 1 或 2 天内才开始发生,有人也遇到过这种情况吗?这是我的 JS 代码,然后是错误
FB.getLoginStatus(function(response) {
if (response.authResponse) {
//Fire Login Ajax
} else {
FB.login(function(response) {
if (response.authResponse) {
FB.api('/me', function(response) {
//Fire Login Ajax
});
}
});
}
});
Uncaught Error: No polyfill registered for object
q all.js:24
FB.subclass.process all.js:118
FB.provide._processElement.processor all.js:82
FB.provide._processElement all.js:82
FB.provide.parse all.js:82
q all.js:24
FB.provide.parse