In our game we support linking a Facebook account to share leaderboard score. So I used a FacebookConnectRequest which connect the initial "device" authentication with a FB authToken. But some players want to "unlink" their accounts from FB because they don't want to share scores with their friends anymore.
How can I unlink a FB account from a player and break the friendship relationship when showing a leaderboard using SocialLeaderboardDataRequest?
Best Answer
C
Customer Support
said
about 7 years ago
Hey Dan,
You can use SocialDisconnect request [https://docs.gamesparks.net/documentation/request-api/player-request-api/socialdisconnectrequest]. This will strip all the SSO tokens and settings from and account and leave you with a normal GameSparks account.
Currently there's no way of unlinking, it's definitely in the backlog though and I pass it on to the dev team to increase it's priority. I'll update this topic when more information becomes available.
Shane
D
Dan Wallace
said
about 7 years ago
Shane - any update on this?
Customer Support
said
about 7 years ago
Answer
Hey Dan,
You can use SocialDisconnect request [https://docs.gamesparks.net/documentation/request-api/player-request-api/socialdisconnectrequest]. This will strip all the SSO tokens and settings from and account and leave you with a normal GameSparks account.
Sean
E
Esteban Feldman
said
almost 5 years ago
Hi,
My players use DeviceAuthenticationRequest and then I link them with FB.
Now I'm implementing SocialDisconnectRequest for those whom may have 2 devices and want to disconnect one and connect the other.
But I tried and got the error {"password": "NOT_SET"}.
I really don't want to ask the user username/password that's why I use DeviceAuthRequest
Is there any way to disconnect from FB without setting a password?
Thanks.
E
Eric Moncada
said
over 4 years ago
HI,
I would be interested in the response.
Why would me need a password if players are DeviceAuthenticationRequest ?
Thanks
Eric
Customer Support
said
over 4 years ago
Hi all,
The reason you cannot do this is because you stand a very high chance of losing the link to your data by doing it. If the player unlinks a social account and is then on a device with a new deviceId then they will lose access to their data the next time they authenticate via device authentication. What exactly is the use case here ?
Christian Gauthier
In our game we support linking a Facebook account to share leaderboard score. So I used a FacebookConnectRequest which connect the initial "device" authentication with a FB authToken. But some players want to "unlink" their accounts from FB because they don't want to share scores with their friends anymore.
How can I unlink a FB account from a player and break the friendship relationship when showing a leaderboard using SocialLeaderboardDataRequest?
You can use SocialDisconnect request [https://docs.gamesparks.net/documentation/request-api/player-request-api/socialdisconnectrequest].
This will strip all the SSO tokens and settings from and account and leave you with a normal GameSparks account.
Sean
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstCustomer Support
Currently there's no way of unlinking, it's definitely in the backlog though and I pass it on to the dev team to increase it's priority. I'll update this topic when more information becomes available.
Shane
Dan Wallace
Shane - any update on this?
Customer Support
You can use SocialDisconnect request [https://docs.gamesparks.net/documentation/request-api/player-request-api/socialdisconnectrequest].
This will strip all the SSO tokens and settings from and account and leave you with a normal GameSparks account.
Sean
Esteban Feldman
Hi,
My players use DeviceAuthenticationRequest and then I link them with FB.
Now I'm implementing SocialDisconnectRequest for those whom may have 2 devices and want to disconnect one and connect the other.
But I tried and got the error {"password": "NOT_SET"}.
I really don't want to ask the user username/password that's why I use DeviceAuthRequest
Is there any way to disconnect from FB without setting a password?
Thanks.
Eric Moncada
HI,
I would be interested in the response.
Why would me need a password if players are DeviceAuthenticationRequest ?
Thanks
Eric
Customer Support
Hi all,
The reason you cannot do this is because you stand a very high chance of losing the link to your data by doing it. If the player unlinks a social account and is then on a device with a new deviceId then they will lose access to their data the next time they authenticate via device authentication. What exactly is the use case here ?
Regards,
Liam
-
Documentation Notes
-
Design issues with user events
-
Using NoSQL
-
Runtime Collections vs Metadata Collections
-
Anonymous authentication from browser app
-
Modules
-
Movement With Unity
-
Problem with url parameters for downloadables
-
Querying NoSql GameSparks database
-
Challenge accesType
See all 2487 topics