there is a paging option, have a look at opensocial documentation.
you can pass a parameter for the first say 20 friends to show.



2008/5/2 justin kruger <[EMAIL PROTECTED]>:

>
> it seems to me to be a bit silly to have such large friend lists
> returned.  are their any functions to do some set logic on the server?
>
> for example:
> #how would you efficiently find all friends in common between the
> viewer and the owner?  (on sites like myspace, friend lists can be in
> the 10s of thousands.)
> -would the strategy follow a paging option?
>
> #what is the most effective way to determine if the viewer is the
> owner?  right now you have to get the id for both, and then check.
> this seems odd.  if you continue down this logic.
> #what is the most effective way to determine if the viewer is a friend
> of the owner?
> #....is a friend of a friend of the owner?
>
> --
> --
> Justin Kruger
> http://jDavid.net
> [EMAIL PROTECTED]
>
> "If you are successful, it is because somewhere, sometime, someone
> gave you a life or an idea that started you in the right direction.
> Remember also that you are indebted to life until you help some less
> fortunate person, just as you were helped." --Melinda Gates
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenSocial Application Development" 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