https://github.com/stansassets/com.stansassets.facebook
Open source product that contains extended access to Facebook API.
https://github.com/stansassets/com.stansassets.facebook
facebook npm openup social stansassets unity unity3d upm upm-package utility-library
Last synced: 3 months ago
JSON representation
Open source product that contains extended access to Facebook API.
- Host: GitHub
- URL: https://github.com/stansassets/com.stansassets.facebook
- Owner: StansAssets
- Created: 2020-05-31T18:54:32.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-08-03T11:51:20.000Z (almost 5 years ago)
- Last Synced: 2025-01-31T04:01:43.738Z (over 1 year ago)
- Topics: facebook, npm, openup, social, stansassets, unity, unity3d, upm, upm-package, utility-library
- Language: C#
- Homepage: https://stansassets.com/
- Size: 25 MB
- Stars: 3
- Watchers: 8
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
# Extended Facebook SDK
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](https://developers.facebook.com/docs/unity/) but it only covers basic functionality. And if you would like to use [Graph API](https://developers.facebook.com/docs/graph-api/) you will have to do all the parsing yourself. And this is the exact part where we would like to help.
[](https://www.npmjs.com/package/com.stansassets.facebook)
[](https://openupm.com/packages/com.stansassets.facebook/)
[](https://github.com/StansAssets/com.stansassets.facebook/blob/master/LICENSE)
[](https://github.com/StansAssets/com.stansassets.facebook/issues)
[API Reference](https://api.stansassets.com/facebook/) | [Wiki](https://github.com/StansAssets/com.stansassets.facebook/wiki)
## Explore the library:
* [Initialization](https://github.com/StansAssets/com.stansassets.facebook/wiki/Initialization) Initializes all platform-specific data structures and behaviors.
* [GetFriends](https://github.com/StansAssets/com.stansassets.facebook/wiki/GetFriends) Represents users friends list.
* [GetProfileUrl](https://github.com/StansAssets/com.stansassets.facebook/wiki/GetProfileUrl) Gets user's profile url.
* [GetLoggedInUserInfo](https://github.com/StansAssets/com.stansassets.facebook/wiki/GetLoggedInUserInfo) Retrieves current logger user info.
## 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](https://github.com/StansAssets/com.stansassets.facebook/blob/master/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](https://docs.unity3d.com/Manual/upm-manifestPrj.html) `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](https://www.npmjs.com/package/com.stansassets.facebook) which is currently [](https://www.npmjs.com/package/com.stansassets.facebook).
```json
{
"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 `
* 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!](mailto:stan@stansassets.com)
[Website](https://stansassets.com/) | [LinkedIn](https://www.linkedin.com/in/lacost/) | [Youtube](https://www.youtube.com/user/stansassets/videos) | [Github](https://github.com/StansAssets) | [AssetStore](https://assetstore.unity.com/publishers/2256)