Hi Fernando, I understand your concerns, tried to do exactly the same you are looking for some time ago. What I've done: loaded a generic image using javascript, loaded user's image using javascript. If users image get 404, show the generic image. On the other hand, everytime a user loads the app, update his/her profile image.
-Robson Dantas 2010/7/26 Fernando Torres <nandotor...@gmail.com> > Sux... by the moment I'm looking for that just for place the user's profile > photo in the app. Not the owner photo neither the viewer photo but the > thumbnail of others app users, like a gallery. > > When users add the application I can store the thumbnail. But if the users > change your profileĀ“s photo, I never get the actual thumbnail unless users > access the app and I can update your photos in the app database. > > > > > On Mon, Jul 26, 2010 at 12:13 PM, Robson Dantas <biu.dan...@gmail.com>wrote: > >> That's why I told you. Last time tried to do that, wasn't working :( >> >> -Robson Dantas >> >> 2010/7/26 Fernando Torres <nandotor...@gmail.com> >> >>> Unf... >>> >>> When I try to run the code into my application I get forbiden to access >>> the information. But the user in question has the application in your orkut >>> sandbox. Maybe it because the application isn't already publicated? >>> >>> On Mon, Jul 26, 2010 at 10:41 AM, Robson Dantas <biu.dan...@gmail.com>wrote: >>> >>>> Hi Fernando, >>>> >>>> Technically it's possible to do, but last time I tried, was getting an >>>> error - even if was trying to fetch an user which is my friend. >>>> >>>> See a sample: >>>> >>>> function loadFriend() >>>> { >>>> var req = opensocial.newDataRequest(); >>>> var idspec_params = {}; >>>> >>>> idspec_params[opensocial.IdSpec.Field.USER_ID] = "<<user_id>>"; >>>> var idspec = opensocial.newIdSpec(idspec_params); >>>> req.add(req.newFetchPeopleRequest(idspec,{}),'info'); >>>> >>>> req.send(friendCallback); >>>> } >>>> >>>> function friendCallback(resp) >>>> { >>>> var data = resp.get('info'); >>>> var html = new Array(); >>>> >>>> //do some cool stuff >>>> >>>> } >>>> >>>> Give it a try and let me know how it goes. >>>> >>>> -Robson Dantas >>>> >>>> >>>> 2010/7/26 Fernando Torres <nandotor...@gmail.com> >>>> >>>>> Hello >>>>> >>>>> Can some one help me with a issue? I'm trying to retrive informations >>>>> about a specific user in my application. My container is orkut sandbox. >>>>> >>>>> I'm using fetchPeopleRequest passing the user ID as parameter. The user >>>>> ID in question has the application in your orkut sandbox and also is my >>>>> friend. >>>>> >>>>> Has any one a snipet of code to show me if its possible? >>>>> >>>>> Thanks any help >>>>> >>>>> Fernando >>>>> >>>>> -- >>>>> 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-...@googlegroups.com. >>>>> To unsubscribe from this group, send email to >>>>> opensocial-api+unsubscr...@googlegroups.com<opensocial-api%2bunsubscr...@googlegroups.com> >>>>> . >>>>> For more options, visit this group at >>>>> http://groups.google.com/group/opensocial-api?hl=en. >>>>> >>>> >>>> -- >>>> 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-...@googlegroups.com. >>>> To unsubscribe from this group, send email to >>>> opensocial-api+unsubscr...@googlegroups.com<opensocial-api%2bunsubscr...@googlegroups.com> >>>> . >>>> For more options, visit this group at >>>> http://groups.google.com/group/opensocial-api?hl=en. >>>> >>> >>> -- >>> 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-...@googlegroups.com. >>> To unsubscribe from this group, send email to >>> opensocial-api+unsubscr...@googlegroups.com<opensocial-api%2bunsubscr...@googlegroups.com> >>> . >>> For more options, visit this group at >>> http://groups.google.com/group/opensocial-api?hl=en. >>> >> >> -- >> 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-...@googlegroups.com. >> To unsubscribe from this group, send email to >> opensocial-api+unsubscr...@googlegroups.com<opensocial-api%2bunsubscr...@googlegroups.com> >> . >> For more options, visit this group at >> http://groups.google.com/group/opensocial-api?hl=en. >> > > -- > 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-...@googlegroups.com. > To unsubscribe from this group, send email to > opensocial-api+unsubscr...@googlegroups.com<opensocial-api%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/opensocial-api?hl=en. > -- 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-...@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.