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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Facebook login

Discussion in 'Scripting' started by gringofxs, Sep 1, 2016.

  1. gringofxs

    gringofxs

    Joined:
    Oct 14, 2012
    Posts:
    240
    I have a client that wants to login through Facebook, then enter the game.
    There is a packague for me to buy, how can i do that, please?
     
  2. KelsoMRK

    KelsoMRK

    Joined:
    Jul 18, 2010
    Posts:
    5,539
    mahdiii and novashot like this.
  3. Brathnann

    Brathnann

    Joined:
    Aug 12, 2014
    Posts:
    7,146
    Yep. You'll need to get the Facebook unity sdk and integrate that into your project. It comes with example scenes to show you how to do login, get friend info, get user info, do iap through FB, etc.

    You will also have to set up a Facebook developer account and setup the app on Facebook depending on what platform you are on. If on mobile, there are some other settings you have to adjust and input.
     
    Kiwasi likes this.
  4. gringofxs

    gringofxs

    Joined:
    Oct 14, 2012
    Posts:
    240
    unity publish for Android and IOs, i need to login througth facebook, then jump to the game, is possible? after login in facebook?
     
  5. KelsoMRK

    KelsoMRK

    Joined:
    Jul 18, 2010
    Posts:
    5,539
    Did you even read the link I posted?
     
    tmanallen, CoCoNutti and Kiwasi like this.
  6. Brathnann

    Brathnann

    Joined:
    Aug 12, 2014
    Posts:
    7,146
    Or even what I posted...
     
  7. ramkesh

    ramkesh

    Joined:
    May 15, 2019
    Posts:
    10
    WhoSV and prashantkachhwaha like this.