Hi Takamoto, Does this means that we are not able to retrieve other PERSON fields besides ID, name, thumb and profiles?
I was trying to retrieve CURRENT_LOCATION and GENDER from the API call, but it returned [object Object] instead of null. It sounds pretty much like the same problem Michael was facing. Am I right on this point? Thank you in advance. On Feb 25, 10:10 am, "Tiago Takamoto" <[EMAIL PROTECTED]> wrote: > Hi Michael, > > It seems that Orkut just provide us some information about the users. Even > if OpenSocial has the methods to get this info, the container is responsible > to define witch info will be available to out apps. > In our case, the info are ID, name, thumb and profile. > > Regards, > > Takamoto. > > On Mon, Feb 25, 2008 at 5:46 AM, Michael Marth <[EMAIL PROTECTED]> > wrote: > > > > > > > Hi, > > > I try to access the viewer's or owner's birthday on Orkut, but I > > always get null. My code looks something like below. I CAN access > > gender and tumbnail, so I am a bit confused if this is an Orkut issue > > or with my code. > > > Any comments are much appreciated > > Cheers > > Michael > > > ... > > <Require feature="opensocial-0.7"/> > > ... > > function requestUserResponse(data) { > > var viewer = data.get("viewer").getData(); > > > // pic > > var thumb = viewer.getField(opensocial.Person.Field.THUMBNAIL_URL); > > // this works OK > > > // age > > var dob = > > viewer.getField(opensocial.Person.Field.DATE_OF_BIRTH); > > var age = viewer.getField(opensocial.Person.Field.AGE); > > > alert(age); // gives null > > alert(dob); // gives null > > > }; > > -- > Takamoto --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---