Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Voting for the Unity Awards are OPEN! We’re looking to celebrate creators across games, industry, film, and many more categories. Cast your vote now for all categories
    Dismiss Notice
  3. Dismiss Notice

how to add facebook to unity game project for android

Discussion in 'Scripting' started by Deleted User, Jul 6, 2018.

  1. Deleted User

    Deleted User

    Guest

    i registered in facebook developer website.
    then downloaded their fascebook sdk for android and imported that to my game project.
    after that i copy pasted some information from unity editor to the facebook developer dashboard.
    however , my unity editor does not show the field key hash.
    i installed then openssl and copy pasted contents from openssl bin to java installation bin.
    cmd , looking at all possibilities , restarting unity several time ,but unity does not show that key hash to me.
    i hope someone has done this process and has some ideas to help.
    good luck!
     
    Last edited by a moderator: Jul 6, 2018
  2. Brathnann

    Brathnann

    Joined:
    Aug 12, 2014
    Posts:
    7,140
  3. Deleted User

    Deleted User

    Guest

    the best answer. thanks !
     
  4. Deleted User

    Deleted User

    Guest

    however now there is an error like: Keytool not found
    your android debug keystone file is missing. you can create new one by....
    what should i do now?
     
  5. Deleted User

    Deleted User

    Guest

  6. Brathnann

    Brathnann

    Joined:
    Aug 12, 2014
    Posts:
    7,140
  7. Deleted User

    Deleted User

    Guest


    i have already read it , but my windows 10 does not have some key in %userprofile%\.android\
    it has just few files like adbkey
    and adbkey.pub and... but it does not have key store.
    by the way i use unity and android sdk not android studio
     
  8. Brathnann

    Brathnann

    Joined:
    Aug 12, 2014
    Posts:
    7,140
    Yes, but you use android studios to create the debug keystore, then you go back to Unity. We had to do the same thing on a work computer. But, if this doesn't fix it for you, then I can't help you.
     
  9. Deleted User

    Deleted User

    Guest

    Are you sure about it ? every developer that needs to add facebook login to their game , should do that?
    or?
    P.S : i would like also to ask from unity officials to help us about adding facebook login to unity android projects , when there are stopping like this key store .because googling about this idea bring to us so much informations , but each one is rather in different way .
    so thanks.
     
    Last edited by a moderator: Jul 8, 2018