Skip to content

Profile

FRVR.profile exposes the current player’s channel‑assigned identity — a stable ID, and (on channels that still expose it) a display name and photo. It’s always available, even before auth has completed, because it comes from the channel itself.

const id = FRVR.profile.id();
// 'fbig_123456789' on Facebook Instant, 'gp_ABCDEF' on Google Play, etc.

const name  = FRVR.profile.name?.();    // may be undefined — see below
const photo = FRVR.profile.photo?.();   // may be undefined — see below

Use FRVR.profile.id() to key any local data that should follow the player on this device. For cross‑device identity, use FRVR.auth.getFRVRID() instead.

Facebook Instant: name & photo are no longer available

Section titled “Facebook Instant: name & photo are no longer available”

On other channels (Google Play, iOS, web channels) name and photo continue to behave as before — where available. Always ?.()‑guard both reads.

Profile: read player id

loading SDK…