Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

multiplayer unity game in which players can play with their Facebook friends

Discussion in 'Multiplayer' started by raminjoon, Apr 10, 2014.

  1. raminjoon

    raminjoon

    Joined:
    Feb 20, 2014
    Posts:
    1
    How can I make a multiplayer unity game in which players can play with their Facebook friends? Is Facebook SDK for unity provides such functionality? what else is needed?
     
  2. tobiass

    tobiass

    Joined:
    Apr 7, 2009
    Posts:
    3,062
    In general, you can use FBs api to get your own userID and the ones of your friends. This step is independent from your multiplayer solution.

    Afaik, Unity's built in Networking doesn't support finding friends.
    You can probably use the FB api to challenge friends to a specific game (you can make up a name or start a server first, then invite them). Following your challenge/invitation should be a matter of finding said game on the Master Server.
     
    thegreatzebadiah likes this.
  3. aman.e-zone

    aman.e-zone

    Joined:
    Mar 22, 2016
    Posts:
    4
    Use Facebook API to get your User id and use that id in Appwarp multiplayer..

    Many Thanks