-
Notifications
You must be signed in to change notification settings - Fork 1
Home
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.
- Initialization Initializes all platform-specific data structures and behaviors.
- GetFriends Represents users friends list.
- GetProfileUrl Gets user's profile url.
- GetLoggedInUserInfo Retrieves current logger user info.
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.
- 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 ofscopedRegistries
.- Ensure
com.stansassets
is part ofscopes
. - Add
com.stansassets.facebook
to thedependencies
, stating the latest version.
- Ensure
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 .
{
"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 openupm-cli
npm install -g openupm-cli
oryarn global add openupm-cli
- Enter your unity project folder
cd <YOUR_UNITY_PROJECT_FOLDER>
- Install package
openupm add com.stansassets.facebook
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
Reliable and high-quality Unity Development service. Let's Talk!
Website | AssetStore | LinkedIn | Youtube | Scripting Reference