DrMoriarty / godot-facebook

Facebook module for Godot Game Engine (android and iOS)
MIT License
81 stars 23 forks source link
android facebook godot godot-addon godot-engine godot-module godot-plugin godotengine nativelib

Facebook module for Godot Game Engine (Android and iOS).

Installation

  1. Install NativeLib-CLI or NativeLib Addon.
  2. Make nativelib -i facebook in your project directory if your are using CLI.
  3. Setup your Facebook App ID in package details or Project settings (Facebook/FB_APP_ID).
  4. Enable NativeLib export plugin in Project settings.
  5. Enable Custom Build for using in Android.

Usage

Gd script wrapper (in scripts/facebook.gd) will be automatically added to your autoloading list. You can use it everywhere in your code.

API

Common Functions

Analytics Functions

Signals