As far as I remember, you will not be able to get an user directly like
this, due security restrictions. Also remember that it worked on sandbox,
but on live website it was showing a permission denied error (like yours).

A simplier way would be using OwnerRequest and ViewerRequest

Try this:

<script type="text/os-data" xmlns:os="http://ns.opensocial.org/2008/markup
">
<os:OwnerRequest key="owner" />
<os:ViewerRequest key="viewer" />
</script>

<!-- debug -->
${owner.id}
${viewer.id}

Let me know how it goes .

Robson Dantas



2010/11/24 prameela raju <[email protected]>

> I am viewing application on my own profile
>
>
> On Wed, Nov 24, 2010 at 5:38 PM, Bruno Oliveira <[email protected]> wrote:
>
>> Are you viewing an appilcation installed on your own profile? Or is it
>> someone else viewing an application in your profile (or you viewing the
>> application on someone else's profile)?
>>
>> --
>> 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]<opensocial-orkut%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/opensocial-orkut?hl=en.
>>
>
>
>
> --
> prami
>
>  --
> 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]<opensocial-orkut%[email protected]>
> .
> 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 [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.

Reply via email to