Yes, I think you can't get viewer object unless he has the app 
installed. Security constraints.

Jelena

johnson.psgtech wrote:
> Hi,
>
> I found this wierd behaviour today.
>
> I wrote one application X which will greet
> visitors by their name whenever they start using it
> on my profile. I thought it would greet..but bad app..It dint.
> it greets with their username only if they also
> have my application X installed in their profile..
>
> Im using ,
>
>  var opt_params = { };
>  
> opt_params[opensocial.DataRequest.PeopleRequestFields.PROFILE_DETAILS]
> = [
>         opensocial.Person.Field.PROFILE_URL
>         ];
>       
> req.add(req.newFetchPersonRequest(opensocial.DataRequest.PersonId.VIEWER,
> opt_params), "viewer");
>
> to get the profile viewer's user name.
>
> I tried this both in IE and Firefox.
>
> Is  it like... An application will get the user_name of VIEWER only
> if he/she also has the same application installed in his/her profile??
>
>
> --Antony
>
>
>
>
>
> >
>
>   

--~--~---------~--~----~------------~-------~--~----~
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