Hi, We'd like to add a new feature that allows an Application to determine if the person (specifically a VIEWER) has a previous relationship with that particular application. I've looked through the specification and didn't see an easy way to determine this..
I know there's a way to filter friends by APP_ID, however I don't see
way of discerning this info for the VIEWER
Here's one possible specification. I'd like to know what others
think:
Class opensocial.Person
Boolean hasApp()
Returns true if this person has a prior relationship with the
currently running application.
This will always return true when isOwner() is true.
Returns:
Boolean True if this user has a relationship with the App
False if the user has no relationship with the App
For hi5 we would return True if we created a permissions record for
that user, otherwise false. A permission record is created for any
non-profile view of an application.
--
Paul Lindner
hi5 Architect
[EMAIL PROTECTED]
pgpp4tYe9OAp3.pgp
Description: PGP signature
