Igo, Use firebug to debug these calls.
- First thing to check is, of course, if you have friends on your list; - Then check your firebug to make sure you are not getting a 'access denied' during the call; - Last thing, disable profile flags, just to make sure at least friends are coming back; Let me know your results. Robson Dantas 2010/8/11 Igo Amauri <igoama...@gmail.com> > Hi, > I'm new in developing applications for orkut and i'm with a little problem > to access my friends informations. > In my application i only want to show some informations like: Name, Status, > about me, age, but when i run it the fields return null, no information. > my code: > > function request() { > var param = {}; > param[opensocial.DataRequest.PeopleRequestFields.PROFILE_DETAILS] > =[opensocial.Person.Field.PHONE_NUMBERS,opensocial.Person.Field.STATUS,opensocial.Person.Field.ABOUT_ME, > opensocial.Person.Field.AGE]; > var idFriends = opensocial.DataRequest.Group.OWNER_FRIENDS; > > req = opensocial.newDataRequest(); > var objetoRequest = req.newFetchPeopleRequest(idFriends, param); > requisicao.add(objetoRequest, "req"); > requisicao.send(response); > } > > function response(data) { > > var friends= data.get("req").getData(); > friends.each(function(data){ > var name= data.getDisplayName(); > var aboutme= data.getField(opensocial.Person.Field.ABOUT_ME); > var status = data.getField(opensocial.Person.Field.STATUS); > var age= data.getField(opensocial.Person.Field.AGE); > } > > What happened? > Is something wrong? > Can i have problem with permisson? > > Thank you. > > -- > Igo Amaurí dos Santos Luz > 9º semestre - Engenharia de Computação - > Egresso do PET Engenharia de Computação > Integrante do Diretório Acadêmico - DEBUG > *Universidade Estadual de Feira de Santana* > > *Gtalk: *igoama...@gmail.com > *E-mail: *igoama...@gmail.com > > -- > 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-or...@googlegroups.com. > To unsubscribe from this group, send email to > opensocial-orkut+unsubscr...@googlegroups.com<opensocial-orkut%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/opensocial-orkut?hl=en. > -- 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-or...@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.