Background: creating unity 2d game.
Hi, So let me get this straight this is how it goes
user installs game-> opens game -> is logged in with mobiledeviceID, then we prompt them to link account with facebook. they link account with facbook.
device1 = logged in with facebook and deviceID.
now they pick up another phone. they open game-> we log them in with mobiledeviceID2, then prompt them to link with either an existing facebook account or create new facebook account.
they choose the existing option.
we then link both devices to the single facebook account. Is that alright?
now there are two phones with 1 player on it. how many entries will there be for that player in players Tab?
but what do we check first in our script? are we logging the player, every time they start the game, by the deviceID?
could you be so kind to write a basic algorithm for it? (just a logical approach, i have checked out almost all tutorials on it and am still stuck)
main confusion is how facebook login works?
like okay we have logged in but tokens are giving me a headache,what are they? where do we get them? (like in the function?) i dont understand why we need them, why they expire etc?
how to refresh them? how to get app permissions from facebook ?
i guess the main benefit of using facebook is just friends list (apart from that its basically useless right?)