[ad_1]
BARANGAY Geneva proved to be eager to give Phoenix Super LPG some more valuable lessons the latter had wanted.
One is how to make a quick change. Not depending too much on a single boy is another.
For the fourth game in a row, a different player stood out for the Kings, powering them over the Fuel Masters, 86-71, on Wednesday at the PBA Philippine Cup at the AUF Sports Arena powered by Smart 5G technology in Angeles City.
Stanley Pringle took the lead with 20 points, while Prince Caperal also bravely surrendered with a double-double of 14 points and 10 rebounds in addition to five assists as the Geneva franchise had its best start since the 1986 Open Conference.
More importantly, the Kings improved to a 4-0 slate and tied with inactive leader TNT, which winning coach Tim Cone attributed in part to helping cause the relatively easy victory over a Phoenix team barely recovered from a loss by 91-110 before the Tropang. Giga on Monday night.
Sponsored content:
// This is called with the results from from FB.getLoginStatus(). function statusChangeCallback(response) { // console.log('statusChangeCallback'); // console.log(response); // The response object is returned with a status field that lets the // app know the current login status of the person. // Full docs on the response object can be found in the documentation // for FB.getLoginStatus().
if (response.status === 'connected') { // Logged into your app and Facebook. // console.log(response); //FB.api('/me', {locale: 'en_US', fields: 'id,first_name,last_name,email,link,gender,locale,picture'}, //function(response) { console.log($('#fbLink').data('page')); if($('#fbLink').data('page') == 'login'){ doLogin(); } else if($('#fbLink').data('page') == 'register'){ doRegister(); } //});
} else if (response.status === 'not_authorized') { // The person is logged into Facebook, but not your app. //doRegister(); //document.getElementById('status').innerHTML = 'Please log into this app.'; } else { // The person is not logged into Facebook, so we're not sure if // they are logged into this app or not. //document.getElementById('status').innerHTML = 'Please log into Facebook.'; } }
// This function is called when someone finishes with the Login // Button. See the onlogin handler attached to it in the sample // code below. function checkLoginState() { FB.login(function(response) { //console.log(response); }, {scope: 'public_profile,email'}); FB.getLoginStatus(function(response) { statusChangeCallback(response); }); }
window.fbAsyncInit = function() { // FB JavaScript SDK configuration and setup FB.init({ appId : '1579181439054691', // FB App ID cookie : true, // enable cookies to allow the server to access the session xfbml : true, // parse social plugins on this page version : 'v2.8' // use graph api version 2.8 });
// FB.Event.subscribe('auth.statusChange', function(response) { // if (response.status === 'connected') { // statusChangeCallback(response); // } else { // } // }); };
// Load the SDK asynchronously (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 = "https://connect.facebook.net/en_US/sdk.js"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));
// Here we run a very simple test of the Graph API after login is // successful. See statusChangeCallback() for when this call is made. function doRegister() { FB.api('/me', {fields: 'id,first_name,last_name,email,gender,picture'}, function(response) { //alert(JSON.stringify(response)); //document.getElementById('status').innerHTML = '
' + JSON.stringify(response) + '
'; /* An active access token must be used to query information about the current user. OAuthException code 2500 */
$('#registration_form').hide(); $('#firstname').val(response.first_name); $('#lastname').val(response.last_name); $('#email').val(response.email); $('#username').val(response.id); $('#password').val(response.id); $('#cpassword').val(response.id); $('#image').val(response.picture.data.url); $('#facebook').val('1');
document.getElementById("registration_form").submit(); }); } function doLogin() { FB.api('/me', {fields: 'id,first_name,last_name,email,gender,picture'}, function(response) { // alert('
' + JSON.stringify(response) + '
'); $('#login_username').val(response.id); $('#login_password').val(response.id); $('#firstname').val(response.first_name); $('#lastname').val(response.last_name); $('#email').val(response.email); $('#username').val(response.id); $('#password').val(response.id); $('#cpassword').val(response.id); $('#image').val(response.picture.data.url); $('#facebook').val('1');
document.getElementById("login_form").submit(); }); }
[ad_2]