Use "data viewer" in Opensocial Developer App and see if you have
access to it
http://www.orkut.co.in/Main#Application.aspx?appId=291092957065

cheers,
shishir

On Jun 5, 12:29 pm, Tushar <gandhi.t...@gmail.com> wrote:
> 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