i want to get user info (like name, email, gender, dob, mobile number) from google OAuth2
my code is :-
string url = "https://accounts.google.com/o/oauth2/auth?client_id=-----&";
url = url + "redirect_uri=http%3A%2F%2Flocalhost:1251/Default.aspx&response_type=code%20token%20id_token%20gsession&";
url = url + "scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fplus.login%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fplus.profile.emails.read%20profile&";
url = url + "request_visible_actions=http%3A%2F%2Fschemas.google.com%2FAddActivity&cookie_policy=single_host_origin&include_granted_scopes=true&";
url = url + "proxy=oauth2relay291327776&origin=http%3A%2F%2Flocalhost:1251&state=626628547|0.3397486033";
Response.Redirect(url);
please send code for access user info< ...
Go to the complete details ...