I figured it out. Turns out I was looking for the wrong property in
the wrong container.

On Nov 26, 11:06 pm, vas <[email protected]> wrote:
> Hi,
>
> I am just starting out with igoogle APIs and I am stumped with getting
> the location. The following line of code does not work -
>
> location = person.getField(opensocial.Person.Field.CURRENT_LOCATION);
>
> It gives me the string "undefined". I am not sure why. Any help is
> greatly appreciated.
>
> To see where this is read from, I added the location information (zip
> code and the country) in iGoogle->My Account-> Settings. I also
> created a public profile and added location information there.
>
> Hope some one ran into this too.
>
> -Vas

--

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