Skip to content

Unity NPM version of Facebook SDK! This repository applies the same license terms of the original version. (https://github.com/facebook/facebook-sdk-for-unity)

License

Notifications You must be signed in to change notification settings

GameWorkstore/facebook-sdk-unity

Repository files navigation

Game Workstore Facebook SDK for Unity NPM

Unity NPM version of Facebook SDK! This repository applies the same license terms of the original version.

Original version: facebook-sdk-for-unity

Installation

  • Add following dependency to Packages/manifest.json in your project;

    {
      "dependencies": {
        "com.google.external-dependency-manager": "git://github.com/GameWorkstore/com.google.external-dependency-manager#1.2.165",
        "com.gameworkstore.facebooksdkunity": "git://github.com/GameWorkstore/facebook-sdk-unity#9.2.0000"
      }
    }

For the official plugin, check out the original repository

for update package for a newer version, change the #version at the end of the link to the release/tag on this page.

FAQ

About Facebook Developer Page Settings

For Unity Android games, add on facebook settings your packageName (com.example.etc) and your activityClass from manifest. Go to advanced settings and enable "Native or desktop app?" to true. Respond "Is App Secret embedded in the client?" to false. Don't include your client secret if not necessary in the app.

Convert SHA1 from GooglePlay console keysigns to KeyHash using this site: http://tomeko.net/online_tools/hex_to_base64.php

About GooglePlay reject default manifest

Change on the generated manifest the application xml node line android:debuggable value:

<application android:theme="@a... android:debuggable="true">

to false, that is it:

<application android:theme="@a... android:debuggable="false">

About

Unity NPM version of Facebook SDK! This repository applies the same license terms of the original version. (https://github.com/facebook/facebook-sdk-for-unity)

Resources

License

Stars

Watchers

Forks

Packages

No packages published