Godot 3.2 Facebook plugin / module

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By bashan

Is there some solution for using Facebook SDK on Godot 3.2?
There are some shaky solutions on the web. All are not really working and compile only on Godot 3.1.

Any other option?

Hello, did you find the way?

3.14160 | 2020-09-28 17:21

Yes, wrote my own plugin for Godot 3.2 based on an earlier plugin. You can check it if you like: GitHub - guybashan/godot-android-facebook-plugin: Android Facebook plugin for Godot 3.2.2 or higher

bashan | 2020-10-06 19:17

:bust_in_silhouette: Reply From: DrMoriarty

You can use precompiled Facebook module for iOS and Android. More information at GitHub - DrMoriarty/godot-facebook: Facebook module for Godot Game Engine (android and iOS)
In order to install it just download NativeLib addon from AssetLib and search Facebook in it.

There must be something missing from the instructions in this plugin, as I’ve tried it countless times and I never managed to use it. The godot debug shows this error:

W 0:00:02.460 call: Facebook plugin not found! <C++ Source> modules/gdscript/gdscript_functions.cpp:817 @ call() <Stack Trace> facebook.gd:36 @ _ready()

How to install this Facebook plugin?

dpensky | 2021-03-22 16:25

Check if you enabled desired platforms before plugin installation.
Check if you enabled custom build for Adroid.
Check if you enabled plugin on export window.
If nothing helped write an issue at Issues · DrMoriarty/godot-facebook · GitHub

DrMoriarty | 2021-03-22 18:50

Check if you enabled desired platforms before plugin installation.

This was my problem. I hadn’t even seen this option.
Maybe leave both active by default, or not install when both are disabled.
Everything else worked. Thank you very much! Greate work!

dpensky | 2021-03-22 19:56

Hello Doctor,

Do you know where I can find some info on how to use this plugin? I have it initializing correctly in the app but I’m having a little trouble figuring out how to actually use the functions. For example: in the get_friends() function I’m supposed to pass in an object and a method. What object and what method do I pass in and how do I determine this? Any help you’re willing to offer will be greatly appreciated. Thanks in advance. I love your work.

Toupoc3 | 2022-08-24 18:38

:bust_in_silhouette: Reply From: kurtsev0103

Hi , You can use Facebook Plugin

If you’re integrating this for iOS, you’ll also need to implement login via Apple.
You can use the Apple Plugin for this.

  • Both plugins have detailed instructions for installation and use.

  • Both plugins work on the same methods and signals for convenience.

  • Both plugins support any version of Godot