Hi Jevs. Are your requests continuing to fail intermittently?
- Jason
On Mar 22, 2:52 pm, JevS <[EMAIL PROTECTED]> wrote:
> Hi,
> The following request not always returning viewer friends for me. It
> fails 30-50% of time with HAS_APP filter.
>
> var node
> =opensocial.DataRequest.PeopleRequestFields.PROFILE_DETAILS;
> var val = opensocial.Person.Field.ABOUT_ME;
> var max =
> opensocial.DataRequest.PeopleRequestFields.MAX;
> var opt = {}; opt[node] = [val];
> request.add(request.newFetchPersonRequest("VIEWER", opt), "viewer");
> request.add(request.newFetchPersonRequest("OWNER",opt), "owner");
> opt[max] = 200;
> opt[opensocial.DataRequest.PeopleRequestFields.FILTER]
> = opensocial.DataRequest.FilterType.HAS_APP;
> request.add(request.newFetchPeopleRequest("VIEWER_FRIENDS",opt),
> "viewerFriends");
>
> If requested, I can create short application to demonstrate it for
> some user profiles.
> Cheers,
> Jevs
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---