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

  };

--~--~---------~--~----~------------~-------~--~----~
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