Java – uncapped error: Polyfill is not registered for the Facebook JDK object

I received the following error when logging in with Facebook JDK. I'm very sure it only started to happen in the last 1 or 2 days. Does anyone encounter this problem? This is my JS code, and then error

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

Solution

This is a mistake It's in https://developers.intern.facebook.com/bugs/420667497951980 It is reported that it is under investigation

Check out the Facebook ActionScript API 'Facebook Init()’ call is suddenly returning null session object. Why?

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>