Skip to main content
social.plus SDK identifies each user by a userId that your app provides. The userId should be stable, unique, and non-sensitive because it becomes the SDK identity used by login, profile, search, permission, and moderation APIs.
Keep your source-of-truth account record, credentials, email address, and private profile data in your own system. Send social.plus only the stable userId and the social profile fields your experience needs.

User ID Rules

After a user is created in social.plus, treat the userId as immutable.

Stored Social Profile Fields

social.plus stores social profile and moderation fields that support SDK features. Avoid putting sensitive personal data in these fields.

Parameters

Initialize the user repository

Initialize the user repository before calling user read, search, update, or moderation APIs.

Create User

Log in or create a user with the stable userId.

User Operations

Choose the right SDK operation for user reads, updates, search, moderation, and tokens.