Skip to main content

overwolf.social API

Provides sharing services to different social networks like Reddit, Twitter, etc. and also information about the currently disabled services.

Methods Reference

Types Reference

getDisabledServices(callback)

Version added: 0.126

Checks which of the supported sharing services are disabled or enabled.

Note: You can’t disable or enable sharing service from your app. It’s done from the Overwolf servers.

ParameterTypeDescription
callback(Result: GetDisabledServicesResult) => voidreturns a list of disabled services

GetDisabledServicesResult Object

Version added: 0.126

Container for GetDisabledServices result.

ParameterTypeDescription
disabled_servicesstring[]

Callback argument: Success

{"success":true,"disabled_services":["youtube"]}

GetUserInfoResult Object

Version added: 0.128

Container for get user info result.

ParameterTypeDescription
userInfoobject

Example data: Reddit / Youtube / Twitter / Gfycat

{   
"status": "success",
"userInfo": {
"avatar": "http://abs.twimg.com/sticky/...",
"id": "111111111112222222",
"name": "full name",
"screenName": "screenname123"
}
}

Example data: Discord user

{   
"status": "success",
"userInfo": {
"id": "1111111111111",
"discriminator": 9999,
"username": "itay",
"email": "itay@overwolf.com",
"avatar": null,
"verified": true
}
}

LoginStateChangedEvent Object

Version added: 0.128

Container object.

ParameterTypeDescription
statusLoginState enum

Event Data Example: Success

{ "state": "connected"/"disconnected" }

LoginState enum

Version added: 0.128

OptionsDescription
Connected"connected"
Disconnected"disconnected"