More
    HomeABP Live Marathiसिंह राशीसाठी आजचा दिवस चांगला, फक्त 'हे' काम करू नका; वाचा राशीभविष्य

    सिंह राशीसाठी आजचा दिवस चांगला, फक्त ‘हे’ काम करू नका; वाचा राशीभविष्य


    Logout’; } function glUserDataResonseApi(glUserId){ var accessToken = accessToken; var apiEndpoint = `https://auth.abplive.com/api/v1/google-authenticated-data/user/${glUserId}`; fetch(apiEndpoint, { method: “GET”, headers: { ‘Authorization’: ‘Bearer ‘ + accessToken, ‘Content-type’: ‘application/json; charset=UTF-8’ } }).then((response) => response.json()) .then((json) => { //console.log(json); if(json.status==”Success”){ var glUserName = json.data.user_name.split(‘ ‘); document.querySelector(‘#glUserName’).innerHTML = `Welcome ${glUserName[0]}`; } }); }

    Source

    LEAVE A REPLY

    Please enter your comment!
    Please enter your name here

    Must Read

    spot_img