Skip to content
Koretsky Konstantin edited this page Sep 30, 2020 · 13 revisions

Let me give you a quick introduction of our new library - Extended Facebook SDK. This amazing plugin will decrease time to release, reduce the bugs and increase the development quality. It contains lots of the Facebook features you can think of, but in case you miss something, do not hesitate to get in touch.

Initial step

The Facebook already provides the unity plugin, but it has a lack of features, so we implemented a lot more Facebook feature you want to have. To get start work with our plugin you need to install Facebook SDK

About Us

We are committed to developing high quality and engaging entertainment software. Our mission has been to bring a reliable and high-quality Unity Development service to companies and individuals around the globe. At Stan's Assets, we make Plugins, SDKs, Games, VR & AR Applications. Do not hesitate do get in touch, whether you have a question, want to build something or just to say hi :) Let's Talk!

Website | LinkedIn | Youtube | Github | AssetStore

Explore the library:

NPM Package openupm Licence Issues

API Reference | Wiki

Install from NPM

  • Navigate to the Packages directory of your project.
  • Adjust the project manifest file manifest.json in a text editor.
  • Ensure https://registry.npmjs.org/ is part of scopedRegistries.
    • Ensure com.stansassets is part of scopes.
    • Add com.stansassets.facebook to the dependencies, stating the latest version.

A minimal example ends up looking like this. Please note that the version X.Y.Z stated here is to be replaced with the latest released version which is currently NPM Package.

{
  "scopedRegistries": [
    {
      "name": "npmjs",
      "url": "https://registry.npmjs.org/",
      "scopes": [
        "com.stansassets"
      ]
    }
  ],
  "dependencies": {
    "com.stansassets.facebook": "X.Y.Z",
    ...
  }
}
  • Switch back to the Unity software and wait for it to finish importing the added package.

Install from OpenUPM

  • Install openupm-cli npm install -g openupm-cli or yarn global add openupm-cli
  • Enter your unity project folder cd <YOUR_UNITY_PROJECT_FOLDER>
Clone this wiki locally