I tried out the sample at 
http://hosting.gmodules.com/ig/gadgets/file/106941256598760585348/osTest.xml
and verified that it lists all of my friends.  I would double check
that the accounts you're testing against have sandbox access.

To get the size of the friends collection, try using

     viewer_friends.getTotalSize()

instead of

     viewer_friends.length

Hope this helps,
~Arne


On Jan 3, 10:49 pm, babygodzilla <[EMAIL PROTECTED]> wrote:
> hmmmm well I contacted people through the Orkut Sandbox community, so
> I just assumed that all of those people are whitelisted already. I
> suppose it is possible that some aren't.
>
> Thank you!
>
> On Jan 3, 4:24 pm, Adam <[EMAIL PROTECTED]> wrote:
>
> > The reason why you're only seeing one friend in the Orkut sandbox is
> > quite likely what's explained in this thread:
>
> >http://groups.google.com/group/opensocial-orkut/browse_thread/thread/...
>
> > On Jan 3, 4:19 pm, Adam <[EMAIL PROTECTED]> wrote:
>
> > > The supported way to get this in the API is the getTotalSize() method
> > > on the Collection of Person objects in the response after a
> > > newFetchPeopleRequest("VIEWER_FRIENDS") or
> > > newFetchPeopleRequest("OWNER_FRIENDS").
>
> > > I don't see anything obviously amiss in your gadget code.
>
> > > On Jan 3, 3:20 pm, babygodzilla <[EMAIL PROTECTED]> wrote:
>
> > > > Hello all,
>
> > > > I'm trying to follow the tutorial to make a gadget on Orkut, and I was
> > > > told that at the moment OpenSocial v.0.6. does not work, only v.0.5.
> > > > So my question is, is there a way to get the number of friends the
> > > > viewer or owner has? Because the sample application is supposed to
> > > > make a link to all of my friends' profiles, yet only one of my
> > > > friends' profile is shown.
>
> > > > The gadget is 
> > > > here:http://hosting.gmodules.com/ig/gadgets/file/106941256598760585348/osT...
>
> > > > Thank you.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenSocial API Definition" 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-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to