Forum Discussion
ReturnLegend
2 years agoHonored Guest
Bug report: Platform SDK can't get other user‘s profile
Hi,I try to use GetLoggedInUser() to get my own personal information, and everything works fine. But how to get other people's personal information, including name, avatar?
I tried to use Users.Get(UInt64 userID), but it didn't work. Isn't this interface used for this? Is there any other interface to get other players' information instead of forwarding it through the server?
public static Request<Models.User> Get(UInt64 userID)
{
if (Core.IsInitialized())
{
return new Request<Models.User>(CAPI.ovr_User_Get(userID));
}
Debug.LogError(Oculus.Platform.Core.PlatformUninitializedError);
return null;
}
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 2 years ago
- 3 years ago