Facebook错误2FA

时间:2018-06-06 06:34:54

标签: facebook facebook-sdk-3.0

Facebook sdk - 帮我解决

我已将所有内容集成到我的脸书开发者帐户

ErrorUtils发现错误

  <![EX[["Bootloader: %s is not in the component map" GeneratedArtilleryUserTi.... Subsequent errors won't be logged; see https://fburl.com/debugjs.

reportError

    window.fbAsyncInit = function() {
        FB.init({
            appId      : 'appID',
            autoLogAppEvents : true,
            xfbml            : true,
            version          : 'v2.8'
        });

        FB.Event.subscribe('messenger_checkbox', function(e) {
            console.log("messenger_checkbox event");
            console.log(e);

            if (e.event == 'rendered') {
                console.log("Plugin was rendered");
            } else if (e.event == 'checkbox') {
                var checkboxState = e.state;
                console.log("Checkbox state: " + checkboxState);
            } else if (e.event == 'not_you') {
                console.log("User clicked 'not you'");
            } else if (e.event == 'hidden') {
                console.log("Plugin was hidden");
            }
        });
    };

    (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";
            fjs.parentNode.insertBefore(js, fjs);
        }(document, 'script', 'facebook-jssdk')
    );

0 个答案:

没有答案