overwolf.social.youtube.getUserInfo
Overwolf APIs / overwolf / overwolf / social / youtube / getUserInfo
function getUserInfo(callback: CallbackFunction<GetUserInfoResult<User>>): void;
If the user is currently logged into YouTube, this will return user information: { avatar: "http://abs.twimg.com/sticky/...", id: "111111111112222222", name: "full name", screenName: "screenname123" } Otherwise, an error is returned.
Parameters
| Parameter | Type | Description |
|---|---|---|
callback | CallbackFunction<GetUserInfoResult<User>> | Will contain user information or error if the request has failed. |
Returns
void