No, you can only get the list of friends for the application owner
(OWNER) or the current user (VIEWER) and only if the current user has
the application installed. You cannot get the friends of an arbitrary
user at this time, so counting the number of friends of each friend in
your friend list isn't possible, at least not directly.

newFetchPersonRequest and newFetchPeopleRequest can take in a single
OpenSocial ID and array of IDs respectively, but these fetch data for
the persons corresponding to the IDs, NOT the friends of these
persons. And if a given person does not have the application
installed, no personal information (e.g. name, gender, etc.) will be
accessible to your application, making it mostly useless.

- Jason

On Sep 9, 5:15 am, sushant <[EMAIL PROTECTED]> wrote:
> I saw this links.   As per specs of open-social 0.7 i should be able
> to pass Id or array of Ids to get Friends list.   I am not sure if
> this is a bug or per design.
>
> Basically i want to count the number of friends each of my friends
> have.   Is there anyway i can do that  ?
>
> - sushant  -
>
> On Sep 9, 12:57 am, Ramanpreet Singh <[EMAIL PROTECTED]> wrote:
>
> > Hi Sushant
>
> > No buddy, you can't access the friendlistthrough a person's ID.
> > With Opensocial API 0.7 (current version orkut is running), you can only
> > get OWNER_FRIENDS or VIEWER_FRIENDS.
> > Check 
> > thishttp://code.google.com/apis/opensocial/docs/0.7/devguide.html#ListFri...
> > .
>
> > sushant wrote:
> > > I am trying to accessFriendslistusingperson Id
>
> > > var req = opensocial.newDataRequest();
> > > req.add(req.newFetchPeopleRequest(psersonId), 'key');
>
> > > but keep getting error.   My questions.
>
> > >       -  Is it necessary to have the app installed , if i want to get
> > > the count offriendsfor one of myfriends.
>
> > >       -  Can i access the coolness and sexy rating of  any of my
> > >friends. ?
--~--~---------~--~----~------------~-------~--~----~
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