I'm having trouble right now getting the username of the logged in Google User. I want to get the Data I need from this Link:
https://accounts.google.com/o/oauth2/auth?
scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile&
state=%2Fprofile&
redirect_uri={REDIRECT_URL}
response_type=token&
client_id={CLIENT_ID}
this link authenticates with oAuth and gets my Account information, but i don't want to use a "Redirect_URL" i just want to get the data as an XML-File and use it with JavaScript. I want this link to run in my Gadget for Google Sites, so i can use the data from this link in my Gadget.