Home / Technology / Samsung Galaxy S10 with a vulnerability in the system. Thanks to the housing, everyone can get on the phone

Samsung Galaxy S10 with a vulnerability in the system. Thanks to the housing, everyone can get on the phone



var fb_user_id = 0; function statusChangeCallback (response, forced) { if (response.status === & # 39; connected & # 39;) { // Logged in to your app and Facebook. FB.api (& # 39; / me & # 39 ;, function (response) { if (forced == 1) { console.log (& # 39; Try to log in with the & # 39; button); } Other { console.log (& # 39; Autologous Attempt & # 39;); } console.log (JSON.stringify (response)); fbAutoLogin (JSON.stringify (response), forced); }); // fbAutoLogin (fb_user_id); } else if (response.status === & # 39; not_authorized & # 39;) { // The person is logged into Facebook, but not your app. console.log (& # 39; Please log into this app. & # 39;); } Other { // The person is not logged into Facebook, so we are not sure if // they are logged into this app or not. console.log (& # 39; Log in to Facebook. & # 39;); } }

// This function is called when someone ends the login // Button. See the on-line manager included in the sample // code below. function checkLoginState () { FB.getLoginStatus (function (response) { statusChangeCallback (answer, 1); }); }

windows.fbAsyncInit = function () { FB.init ({ appId: & # 39; 113502828807977 & # 39 ;, // App ID cookie: true, // enable cookies so that the server can access the session xfbml: true, // analyze social plugins on this page version: & # 39; v2.2 & # 39; // use version 2.2 });

FB.getLoginStatus (function (response) { statusChangeCallback (response, 0); }); } // Here we run a very simple test of Graph API after login // successful. See statusChangeCallback () for when this call is ringing. function testAPI () {

}

// Load SDK asynchronously (Function (d) { var js, id = & # 39; facebook-jssdk & # 39 ;, ref = d.getElementsByTagName (& # 39; script & # 39;) [0]; if (d.getElementById (id)) {return;} js = d.createElement (& # 39; script & # 39;); js.id = id; js.async = true; js.src = "https://connect.facebook.net/pl_PL/all.js"; ref.parentNode.insertBefore (js, ref); } (Document));
Source link