Facebook Integration

Hi guys,
Back when i was a Unity developer, i could use the Facebook SDK for Unity to log in to facebook,get access token,etc… .Is there a way to do this in UE 4 ? Any help/advice would be appreciated.
Also, can you guys tell me if there will be a Facebook SDK for UE 4 in the future ?

hey JohnMirrah i was working with this for some time, is more an less difficult to integrate facebook with c++ unreal, the theory is get the token via HTTP request after that continuosly send GET request to extract some info from facebook, anyway is a lot of work and i dont have enough time on my project, so i decide use Facebook c# SDK this provide me lots of interactivity with facebook and is easy to use, so i create a wrapper to call facebook c# SDK from unreal, for create the DLLs i use this en visual c# NuGet Gallery | UnmanagedExports 1.2.7 and after that i called with regular funcionallity on UE with this: A new, community-hosted Unreal Engine Wiki - Announcements and Releases - Unreal Engine Forums, is the easy way, of course this wrapper just work on desktop, so if you need do that for mobile, you need implement HTTP request in unreal, is like create your own API for facebook, i know is absolutly posible, but as i say before is lot of time, maybe in the future i or another can release a plugin

Cheers!

Their is an existing Facebook OnlineSubsystem.

Thks for the support, guys!

hey agentleo! i research about facebook subsystem too, but never found a way to get tokens id from post or album or something, and a way to post image on wall, in my project i need post a screen shot taken from game buffer, and publish on a wall, you know if that is posible with the subsystem? i really not reaseach properly, my project was made in short time, but i still interest on this, because i am develop my own mobile game!.

a Facebook plugin for UE: https://sellfy.com/p/K4RA/

Devfo - I sure hope this works good - I just bought it because I’ve been searching for it for a while now! Looking forward to playing around with this :slight_smile:

Devfo - please see the attached screenshot. When logging into facebook from a test scene in UE4, I get the following permissions that are invalid scopes - they don’t even exist in facebook permissions scopes - please advise!

manage_friendslists, publish_stream, status_update, offline_access
266020053fa6f0d41bc5e09c42ec64d2115bd47d.jpeg

======UPDATE=======
This was simply fixed by editing the array that builds for the permissions (See screenshot below)

This POWERHOUSE of a plugin is fantabulous!!! Great buy and I’m happy as a clam with it :slight_smile:

f92d70698b2ba8e35d25a5dcca5445c510bd9440.jpeg

Yes, my fault for not removing some permissions from the Login Node. Some of the scopes are deprecated and I had them in there for testing.
Thanks for catching that. I removed the invalid scopes and updated the the download.
On a side note: If you are trying to make a call that you have not asked permission for, you will get an error in the “Error Response” output pin.

All available permissions that you can use: Permissions Reference - Graph API - Documentation - Meta for Developers

I can resolve your problem! I’ve just released plugin with Facebook implementation for iOS & Android! :smiley:

More info:

Patryk,
gameDNA studio

30eu fix

[COLOR=#222222]
80eu fix?
[/COLOR]

My plugin is a NATIVE Facebook implementation for Android & iOS so this is a significant advantage.

30e fix is not fix. It is 30e ****** away, because it does not work on anything.

Hello!, somebody know if this plugin still works in unreal version 4.21?, I write to the author of the plugin through the web that you can purchase but i had no reply

Bump!
Guys! How to include Facebook plugin in Android build?

I’m getting packaging error:
UATHelper: Packaging (Android (ETC2)): Facebook SDK not found in C:\Program Files\Epic Games\UE_4.25\Engine\Plugins\Online\OnlineSubsystemFacebook\Source\ThirdParty\Android\NotForLicensees\FacebookSDK