Search Unity

FacebookSDK - How to make requests work witout the App Center

Discussion in 'Scripting' started by DemyHallar, Nov 30, 2018.

  1. DemyHallar

    DemyHallar

    Joined:
    Oct 18, 2015
    Posts:
    3
    I'm making a mobile game with Unity and want to implement Facebook invites.

    I'm sending a request to a friend this way:
    Code (CSharp):
    1. FB.AppRequest("Come and play with me!", null, null, null, null, null, null, callback);
    The request shows up in the user's alerts, but the click on it leads to the App Center that doesn't have a game. So the link whether shows "App Center is not available on your device" (mobile) or the App Center with the "broken" game link since i don't have a Facebook WebGL game.

    How to setup the App Center or the request to make it work?
    FacebookSDK now has very limited list of options and the mobile invites are deprecated, so I'm just lost at this point.

    Do I need to create a WebGL app to direct user to the game?
    But it won't work on mobile one way or another...

    How do people do it now?
    Any help would be appreciated.