Notifications
Clear all
Combu Server/Client
4
Posts
2
Users
0
Reactions
704
Views
Topic starter
Hello, I have some problem. I need to link to external platform.
I 'll write this in my start in first scene:
CombuManager.localUser.AuthenticatePlatform("Facebook", FB.UserId, (bool success, string error) => {
if (success)
Debug.Log("Login success: ID " + CombuManager.localUser.id);
else
Debug.Log("Login failed: " + error);
});
and my user log in, but when I log out, and again log in... my custom data didn't read from the server... It look like again new user? What would I write that combu check, if the user was created, gave him his custom data?
Posted : 30/10/2015 8:14 pm
Did you check what is returned by server to see if it's a new user or still the same?
FRANCESCO CROCETTI @ SKARED CREATIONS
Posted : 30/10/2015 10:32 pm
Topic starter
Skared Creations said
Did you check what is returned by server to see if it's a new user or still the same?
No, I didn't do that. I'll try to find, how to do that...
Posted : 31/10/2015 6:05 am
Enable the checkbox LOG DEBUG INFO in the inspector of CombuManager component, it will print in the console log both the requests and the server answers.
FRANCESCO CROCETTI @ SKARED CREATIONS
Posted : 31/10/2015 12:18 pm