Hi All,
As per all the discussion what I got is the Is_friends_with will used
as
filterBy="@firends" , filteOp="contains" and filterValue="UserId"
By using this this filter will mean to get all friends of the viewer
who are also friends with the given userId. right ?
So that indirectly means the mutual firends of viewer and the userId
(a user who id friend of me as well as friend of given userId is
actually the mutual friend of viewer and the given userId). If this is
the case Like what Louis said then also +1 from my side.
We have created a patch for the same for PHP Shindig and attached to
the issue files at:
https://issues.apache.org/jira/browse/SHINDIG-692
Please review the work done and give your comments and feedback.
PS: we have not used any field like friends(array) in Person model. We
have used the database (In our case canonicaljsondb) to get friends of
viewer and given userId. We simply did a intersection on friends list
of Both.
Thanks
Ram
On Nov 21, 10:55 pm, Louis Ryan <
lr...@google.com> wrote:
> Paul,
> A few more examples might be useful. For example does
>
> /people/@me/@friends?filterBy=@friends&filterOp=contains&filterValue=<someuserid>
>
> return all of my mutual friends with <someuser>. If so Im +1 on this.
>
> -Louis
>