Hi,
First of all sorry for the late response.
I way I understand your question is how is viewer id (the id you get
from person.getId()) different from the uid which you see on the url.
And also which one should you use when using OpenSocial APIs.
You should use the viewer id when using the OpenSocial APIs, you were
correct in your comments you mentioned in the sample code.

Also, to help further simply call it user id (instead of viewer id, as
we have then owner also).

Best,
Rohit


On May 26, 10:43 pm, Abhijit <[EMAIL PROTECTED]> wrote:
>    I am confused about viewerid and uid .
>
>  What value can I use for a particular user to identify  him
> uniquely   (vieweid or uid)?
>
> because they shows different value.
>
> And also what value for Friend's id can I use to identify them?
>  Now for Friend's id I use
>
> var viewerFriends = dataResponse.get('viewerFriends').getData();
>         viewerFriends.each(function(person) {
>              friendid = person.getId();             //////////this
> value I use for friend id
>         }
>
> Is it correct?  Pls help me.
--~--~---------~--~----~------------~-------~--~----~
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