hi,

unable to fetch user details like Gender, city, state, country and age
since the profile url changes occurred.

var current_location
=viewer.getField(opensocial.Person.Field.CURRENT_LOCATION);
var country
=current_location.getField(opensocial.Address.Field.COUNTRY);
var city=current_location.getField(opensocial.Address.Field.LOCALITY);
var
zip=current_location.getField(opensocial.Address.Field.POSTAL_CODE);
var state=current_location.getField(opensocial.Address.Field.REGION);
var gender =viewer.getField(opensocial.Person.Field.GENDER).getKey();

i am getting no property error. i. e. current_location has no
properties.

plz help.


-puneet
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to