The only way i could do it was to initiate a webservice call to the Google
Contacts Auth service
Once you receive the response from there you can access the email like this
response.data.feed.author[0].email.$t

have a look at the *Implementing an* *OAuth Gadget* example. thats what i
used as a base.

Andy


On 14 October 2011 14:01, Steve <[email protected]> wrote:

> should add to the above that in this app, its a private Google Site
> where we have
> already white listed the users..  we need to make API call to learn
> their user ID / email so we can customize gadget features..
>
> thanks,
>
> On Oct 11, 10:22 pm, Steve <[email protected]> wrote:
> > We need to find out the user's login address ( google account email)
> > by running
> > Javascript call inside a gadget that is running on a Google Site
> >
> > What's the best way to make an API call from inside a gadget to learn
> > the users email.. ?
> >
> > Sample code would be much appreciated..  Thanks much..
>
> --
> You received this message because you are subscribed to the Google Groups
> "iGoogle Developer Forum" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/Google-Gadgets-API?hl=en.
>
>


-- 
Andrew MacNaughton
Technology Support and Development
Ziptrek Ecotours

Direct Telephone 604.935.4102 ext. 217
Mobile 604.902.0456
Fax 604.935.4101
Reservations 604.935.0001
Toll Free (Canada/USA) 866.935.0001

-- 
You received this message because you are subscribed to the Google Groups 
"iGoogle Developer Forum" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/Google-Gadgets-API?hl=en.

Reply via email to