Skip to content
Stanislav Osipov edited this page Oct 11, 2020 · 13 revisions

Power up your Unity project with our Extended Facebook SDK. This library is a free open source product that contains extended access to Facebook API. We want to make life a little bit easier for all of our fellow developers. Facebook already provides Facebook Unity SDK but it only covers basic functionality. And if you would like to use Graph API you will have to do all the parsing yourself. And this is the exact part where we would like to help.

NPM Package openupm Licence Issues

API Reference | Wiki

Explore the library:

Contributing

This is open-source free software with a simple goal to save a bit of time to developers who need to add advanced Facebook SDK integration into the project. Therefore we 100% open to your contributions. Please read CONTRIBUTING.md for more details on how to contribute.

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>
  • Install package openupm add com.stansassets.facebook

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

Clone this wiki locally