The app had access to data about the friends of its participants.
AFAIR that included attributes that were set “friends-only”.