Get User Mobile Number ,Date of Birth and Address using Google Plus API in ASP.Net

Last Reply 7 days ago By kalpesh

Posted 9 days ago

Hi!
Using below post i can get UserName,Email and gender also i need 
to get MobileNo,Dateofbirth and address
kindly help into this. Thanks


https://www.aspsnippets.com/Articles/Login-with-Google-Account-API-in-ASPNet-and-get-Google-Plus-Profile-details.aspx

Google People Api give all my need but i don't know how to get that.

You are viewing reply posted by: kalpesh 7 days ago.
Posted 7 days ago

You can only access the information which gets return from Fetch method as json object.

Check the below line of code to check the json object value. And accordingly the value return in json objects you can access only those information to display.

string json = GoogleConnect.Fetch("me", code);

So according to change add property with datatype in GoogleProfile if information returning from json object is exist.

Also refer the below links for your reference.

https://docs.microsoft.com/en-us/aspnet/mvc/overview/security/create-an-aspnet-mvc-5-app-with-facebook-and-google-oauth2-and-openid-sign-on#goog

https://github.com/DotNetOpenAuth/DotNetOpenAuth/wiki/Security-scenarios

 

I agree, here is the link: https://www.e-iceblue.com/Introduce/spire-office-for-net-free.html