Seems to be broken for me too. Doesn't work if do following either:

  // Get viewer and owner details
  var params = {};
  params[opensocial.DataRequest.PeopleRequestFields.PROFILE_DETAILS] =
[opensocial.Person.Field.PROFILE_URL];

  var req = opensocial.newDataRequest();
 
req.add(req.newFetchPersonRequest(opensocial.DataRequest.PersonId.VIEWER,
params), 'viewer');
 
req.add(req.newFetchPersonRequest(opensocial.DataRequest.PersonId.OWNER,
params), 'owner');
  req.send(getViewerAndOwnerDetails);


Please advise.



On Oct 11, 11:19 pm, "Swapnil Shinde" <[EMAIL PROTECTED]> wrote:
> I am seeing the same issue with PROFILE_URL. Jason, can you please help us
> out here?
> Thanks,
> Swapnil.
>
> On Fri, Oct 10, 2008 at 7:02 AM, prafulla <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > I just wanted to post the same question. The profile url feature seems
> > to be down. Can someone from google please look into this and update
> > us asap regarding the same.
>
> > Thank you,
> > Prafulla
>
> > On Oct 10, 6:57 pm, "Nagib Kanaan" <[EMAIL PROTECTED]> wrote:
> > > I trying to use:
>
> > >   function request() {
> > >     var params = {};
> > >     params[opensocial.DataRequest.PeopleRequestFields.PROFILE_DETAILS]
> > > = [opensocial.Person.Field.PROFILE_URL];
>
> > >     var req = opensocial.newDataRequest();
> > >     req.add(req.newFetchPersonRequest("VIEWER", params), "viewer");
> > >     req.send(response);
> > >   };
>
> > >   function response(data) {
> > >     var viewer = data.get("viewer").getData();
> > >     var profile_url =
> > viewer.getField(opensocial.Person.Field.PROFILE_URL);
> > >     var regex = /uid=([^&#]+)/;
> > >     var result = profile_url.match(regex);
> > >     if (result.length == 2) {
> > >       var uid = result[1];
> > >       /* uid now contains the viewer's orkut UID */
> > >     } else {
> > >       /* there was a problem getting the UID */
> > >     }
> > >   };
>
> > >   request();
>
> > > But
>
> > > viewer.getField(opensocial.Person.Field.PROFILE_URL);
>
> > > Yestarday returning the profile_url, today  return undefined for me...
> > why?
> > > anyone know?
--~--~---------~--~----~------------~-------~--~----~
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