Integrating FB login to unity web player game

561 views Asked by At

I integrated Facebook SDK with unity to allow logging via Facebook it worked well in unity editor check here https://i.stack.imgur.com/f14th.png

void Start()
{
     FB.Init(FBINIDONE);
}
void FBINIDONE()
{
     string[] perms = { "public_profile", "email", "user_friends" };
     FB.LogInWithReadPermissions(perms,LognDone);
}

but after building the game - the login did not work

1-locally -> did not work

2-online host -> did not work

3-Facebook canvas -> did not work

I googled too much , any other help ?

1

There are 1 answers

1
Jessy Doyle On

Not sure if this will help, but alot of the tutorials or step by step guides I found were outdated and would have errors like this if you tried them. I think this updated one might help if you have not already tried it

Tutorial