Belum punya akun? Mendaftar
");
});
})
gapi.client.load('oauth2', 'v2', function() {
gapi.client.oauth2.userinfo.get().execute(function(resp) {
$('#email').val(resp.email);
})
});
}
} else if (authResult['error']) {
// There was an error.
// Possible error codes:
// "access_denied" - User denied access to your app
// "immediate_failed" - Could not automatially log in the user
console.log('There was an error: ' + authResult['error']);
}
}
jQuery(function($) {
$( "#gConnect1,#gConnect2,#gConnect3").click(function() {
$.cookie("fconnect", "true", {
expires: 2,
path: '/',
domain: '.tribunnews.com',
});
});
});
function logincek(id,types)
{
$.getJSON("https://www.tribunnews.com/auth/user_cek?callback=?",
{type:types,uid:id},
function(data) {