Hitting FB.init returns error "Polyfill JSON does not have implementation of stringify"

Viewed 442

Yesterday, I did not have this issue. I don't believe any of my code has changed in any way since then. I get "Polyfill JSON does not have implementation of stringify". Line 46 of FBLogin.js is the FB.init.

here be thy error

window.fbAsyncInit = function() {
    FB.init({
        appId      : '##########',  //this is replaced with my appId
        cookie     : true,  
        xfbml      : true,  
        version    : 'v2.5' 
    });
};

(function(d, s, id) {
    var js, fjs = d.getElementsByTagName(s)[0];
    if (d.getElementById(id)) return;
    js = d.createElement(s); js.id = id;
    js.src = "//connect.facebook.net/en_US/sdk.js"; //sdk.js
    fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
1 Answers
Related