to get profile url try this:
var profile_url1 = viewer.getField(opensocial.Person.Field.PROFILE_URL);
var regex = /uid=([^&#]+)/;
var res var uid_viewer = result1[1];
url1 = profile_url1.match(regex);
var thumb1 =viewer.getField(opensocial.Person.Field.THUMBNAIL_URL);
var link1 = '<img src="' + thumb1 + '"/>' +
'<a
href="http://sandbox.orkut.com/Profile.aspx?uid='+uid_viewer+'"
target="_top">' + viewer_name + '</a>';
On Feb 8, 2008 6:32 AM, Vlad Katz <[EMAIL PROTECTED]> wrote:
>
> is this still the correct way to get a users profile?
>
> var profile = gadgets.util.getUrlParameters()["parent"] +
> viewer.getField(opensocial.Person.Field.PROFILE_URL);
>
>
> this gives me something like:
> http://sandbox.orkut.com/46/o/ig/files/container/ifpc_relay.html/Profile.aspx?uid=11925256967800101539
> which doesnt work. also, does requestSharapp work?
>
> *v
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Orkut Developer Forum" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---