Skip to main content
Version: 5.7.0

Friend

Friends in brainCloud are other users (i.e. players) that you want to share your user experience with. Friends may be existing connections from a social network (i.e. Facebook), or social connections that you make that are specific to the app and managed by brainCloud.

API Summary

User Lookup

By Universal ID:

By Name (not recommended - slow!):

  • FindUsersByExactName - Retrieves profile information for exactly matched user names. Optional parameter: maxResults
  • FindUsersBySubstrName - Retrieves profile information for partially matched user names. Optional parameter: maxResults
  • FindUsersByNameStartingWith - Retrieves profile information for users whose name starts with search text. Optional parameter: maxResults

By Other Identity:

Misc:

tip

Note that friends APIs in S2S are disigned for user retrival purpose, it does not require the calling user (S2S session) to be a friend of the retrieved users.