Search Unity

Question Facebook Authentication problem

Discussion in 'Cloud Save' started by MateAndor, Jan 19, 2023.

  1. MateAndor

    MateAndor

    Joined:
    Nov 5, 2014
    Posts:
    70
    Hello,

    I try to use Facebook authentication in my game to use cloud save.
    I created an app on Facebook (Type: consumer) and set up everything.
    In the editor: I can log in to Facebook, get the token string, and with the string, I can sign in with SignInWithFacebookAsync(Token).

    On an android phone (with android API 26): I can log in to Facebook and get the token string, but when I try to Sign In, I get an exception: "Unable to validate token...status 401".

    Why is that? Where I can find the problem?