未捕获的错误:发生了微小的异常[Facebook登录] [英] Uncaught Error: Minified exception occurred [Facebook Login]
问题描述
我正在尝试将我的网站与Facebook登录信息集成在一起.我遵循了Facebook提供的所有文档(快速入门).这是我的代码
I am trying to integrate my website with facebook login. I have followed all the documentation provided by Facebook (Quick Start). Here is my code
function init() {
function checkLoginState() {
FB.getLoginStatus(function(response) {
if(response.status=="connected"){
var fbUser = response.authResponse.userID;
var fbAccess = response.authResponse.accessToken;
var data = new FormData();
data.append('fbUser',fbUser);
data.append('fbAccess',fbAccess);
callAjax('dologinfacebook',data);
}
});
}
checkLoginState();
}
window.fbAsyncInit = function() {
FB.init({
appId : 'myappid',
xfbml : true,
version : 'v3.0'
});
init();
};
(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'));
效果很好,我收到的响应没有问题,但在控制台末尾.我收到以下错误消息.
It works great, I receive the response without any problem but at the end of my console. I receive this following error.
B5sq21HbPZ9.js:44 Uncaught Error: Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.
at a (B5sq21HbPZ9.js:44)
at a (B5sq21HbPZ9.js:121)
at x (B5sq21HbPZ9.js:193)
at Object.b.post [as log] (B5sq21HbPZ9.js:193)
at a.logVital (B5sq21HbPZ9.js:219)
at B5sq21HbPZ9.js:293
at Array.forEach (<anonymous>)
at IntersectionObserver.f.threshold (B5sq21HbPZ9.js:293)
任何人都可以建议我该如何删除以下错误?谢谢.
Anyone can suggest me what should I do to remove this following error? Thank you.
推荐答案
这是一个已知的错误: https://developers.facebook.com/support/bugs/1337180213092053/
It is a known bug: https://developers.facebook.com/support/bugs/1337180213092053/
如果您想知道解决的时间,请订阅它.
Subscribe to it if you want to know when it is solved.
这篇关于未捕获的错误:发生了微小的异常[Facebook登录]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!