Hi I'm a developer at MySpace. 0.7 is on is way out we are not working on it unless we find a critical bug. I really recommend you to take a look at REST 0.9
http://developer.myspace.com/Community/blogs/devteam/archive/2009/09/21/full-support-of-opensocial-0-9-rest-apis-now-available.aspx We no just work on the REST end points but we contribute in the PHP, Java, C# libraries to fully work with this and our extensions please check this blog http://developer.myspace.com/Community/blogs/devteam/archive/2009/09/21/full-support-of-opensocial-0-9-rest-apis-now-available.aspx Jorge On Oct 5, 4:47 am, ajeena chandran <ajeenahe...@gmail.com> wrote: > Hi all, > > i am developing application in orkut sandbox.I using opensocial > version 0.7 and opensocial-php-client library .I am not able to get > viewer date of birth, using opensocial-php-client library. > > My code is > > $profile_fields = array( > 'gender' , > 'age', > 'id', > 'currentLocation', > 'fashion', > 'dateOfBirth', > 'isOwner', > 'lookingFor', > 'emails', > 'interests', > 'thumbnailUrl', > 'profileUrl', > 'name', > 'networkPresence', > 'relationshipStatus', > 'sexualOrientation', > 'phoneNumbers' > ); > > $batch = $osapi->newBatch(); > $friend_count = 4; > $self_request_params = array( > 'userId' => $user_id, // Person we are > fetching. > 'groupId' => '@self', // @self for one person. > 'fields' => $profile_fields1 // Which profile fields > to request. > ); > > $batch->add($osapi->people->get($self_request_params), 'self'); > $friends_request_params = array( > 'userId' => $user_id, // Person whose > friends we are fetching. > 'groupId' => '@friends', // @friends for > the Friends group. > 'fields' => $profile_fields1, // Which profile > fields to request. > 'count' => $friend_count // Max friends to > fetch. > ); > $batch->add($osapi->people->get($friends_request_params), 'friends'); > $result = $batch->execute(); > > I have already developed appluication in myspace it is working now. > > For getting dateofbirth i changed my privacy settings to "shared to > everyone".In that case also i am not getting dateofbirth. > > Please help me . --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OpenSocial Application Development" group. To post to this group, send email to opensocial-api@googlegroups.com To unsubscribe from this group, send email to opensocial-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/opensocial-api?hl=en -~----------~----~----~----~------~----~------~--~---