Hi,
I am new to open social.
I am trying to retrieve the country of the user by using following
code:.

var location =owner.getField
(opensocial.Person.Field.CURRENT_LOCATION);
// location is an OpenSocial.Address object
var country=location.getField(opensocial.Address.Field.COUNTRY);

But it is giving as null value.
I output the location object it is giving  value as "undefined".
What is the wrong with this?
Is I missing something?

Any help appreciated.
Thanks,
Tushar

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Orkut Developer Forum" group.
To post to this group, send email to opensocial-orkut@googlegroups.com
To unsubscribe from this group, send email to 
opensocial-orkut+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to