Hello,
i need loging by google in my site.. i Create custom webpart.. work good but when back from google in my site i have erorr 403..
thi url:
/Special-Page/Register?state=/profile&code=4/-UPecnpcPdMSoX2miCLuhBiIY65MkyxNaeTIW_AQXlI#
if (!string.IsNullOrEmpty(Request.QueryString["code"]))
{
string code = Request.QueryString["code"];
string json = GoogleConnect.Fetch("me", code);
GoogleProfile profile = new JavaScriptSerializer().Deserialize(json);
TxtFamily.Text = profile.DisplayName;
TxtEmail.Text = profile.Emails.ToString();
↧