4 messages in com.googlegroups.opensocial-orkutRe: [orkut-developer] Not Getting All...
FromSent OnAttachments
Barry Welch28 Feb 2008 10:50 
Arne Roomann-Kurrik28 Feb 2008 12:36 
Barry Welch28 Feb 2008 14:30 
Barry Welch28 Feb 2008 14:50 
Subject:Re: [orkut-developer] Not Getting All Friends
From:Arne Roomann-Kurrik (api.@google.com)
Date:02/28/2008 12:36:28 PM
List:com.googlegroups.opensocial-orkut

Hi Barry,

The sandbox is configured to only return profile data for friends who are also whitelisted for the sandbox. Additionally, the people requests max out at 20 entries returned by default (you can change this by specifying the MAX parameter in your request). Could either of these be causing the issue that you are experiencing?

~Arne

On Thu, Feb 28, 2008 at 10:51 AM, Barry Welch <btwe@gmail.com> wrote:

For some reason, some of my friends go missing when extracting from the response. Its a strange problem, because MOST of my friends are there... just one or two of them go missing.

If you care, here's some of my code.

//Just assume I sent the request earlier and got back a dataResponse object containing my friends.

var owner_friends = []; var i = 0; dataResponse.get("owner_friends").getData().each(function(person) {

owner_friends[i]=[person.getId(),person.getDisplayName(),person.getField( opensocial.Person.Field.THUMBNAIL_URL),person.getField( opensocial.Person.Field.EMAIL)]; i++; }); // End friends iteration

Anyone have a clue as to why this is happening?