Questions tagged [facebook-unity-sdk]

Questions related to Facebook's SDK for building Facebook apps with Unity

The Facebook SDK for Unity provides a collection of Facebook's social features to Unity apps, allowing them to integrate closely with Facebook features and data

Resources


Related tags

604 questions
2
votes
0 answers

Invalid Key Hash . Facebook Android SDK 7.8 for Unity

Need Help about Facebook SDK 7.8 for Unity 5 ? I keep getting the same error log: Invalid key hash. The key hash ********= does not match any stored key hashes." Previously when I get this error I removed the app and add it again and it starts…
Shahbaz Mancho
  • 109
  • 1
  • 7
2
votes
1 answer

Facebook Unity SDK has some large files

Facebook Unity SDK has some large files that I wonder if I even need. Git is giving me warning when I'm trying to commit them and I also don't want to make my repo larger. This file is 20MB: FacebookSDK\Plugins\iOS\FBSDKCoreKit.framework This file…
Maher Manoubi
  • 585
  • 1
  • 6
  • 18
2
votes
1 answer

Unity Facebook plugin build fails for IL2CPP on Android

I'm trying to build our Unity game with Facebook plugin for Android IL2CPP in Unity 5.4 (Android IL2CPP is now officially supported). Build fails, a sample link error: Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Facebook.Unity_0.cpp:16129: error:…
mwk
  • 1,959
  • 1
  • 14
  • 22
2
votes
4 answers

Facebook API 7.5.0 crashes unity OnInitComplete()

I am working in an iOs environment using unity. Everything worked flawlessly with the Facebook API version 7.4 but since I got the new version the game breaks when Facebook initializes. I get this error: NullReferenceException: Object reference not…
Cabrra
  • 644
  • 3
  • 14
  • 28
2
votes
1 answer

how to get facebook game request url?

we are using facebook unity sdk game requests on android. when someone clicks a game request in their facebook notifications they switch to the game or the app store page (if it's not installed) when the game runs, we call…
2
votes
3 answers

Deserializing Data From Facebook

I am using Unity and the Facebook SDK. Currently I am retrieving a list of users friends who have the app installed using the graph API: The data when it is returned looks as such: { "data": [ { "installed": true, "id": "1292282928282" }, { …
coder4life22
  • 199
  • 1
  • 2
  • 9
2
votes
1 answer

Unity Facebook API - FB.API() Syntax

(Using Unity 5.2.2, Unity Facebook SDK 7.2.2) I am trying to grab my Facebook profile picture once I am logged in, make it into a Sprite and setting it as an Image. The method FBLogin() is called when a Button is clicked.. public void FBLogin() { …
2
votes
1 answer

FB.AppRequest Crash

So I'm not sure if this is an issue with Unity or with the Facebook Unity SDK, or something I might be doing? It only started appearing recently, it was working perfectly fine up until I had to update Unity for iOS9 font issues. The point at which…
2
votes
1 answer

How to get player's score in v7.2.2

in v6.x to get score I was using FB.API("/me/scores", HttpMethod.GET, LoadScoreCallback) where LoadScoreCallback used FBResult. Since FBResult has been replaced by IGraphResult in 7.x, I am unable to get my score through it. Does anyone know how to…
chanfort
  • 125
  • 1
  • 1
  • 9
2
votes
1 answer

Getting Text from IResult Facebook SDK, 7.2.0

I am trying to get the player's username and then display it. Recently, there was a breaking changes; IResult replacement for FBResult. I was able to return a texture from the IGraphResult instead of FBResult, to display the profile picture, so I…
2
votes
0 answers

Using Facebook Open Graph API for Saving Multiple Scores with Unity3D

I am using Facebook-Unity SDK in a game. I have different Levels like Candy Crush Saga and i want to save Players best score in every level on Facebook. and also current Level at which a person is playing. I guess i can not achieve this using Score…
2
votes
2 answers

facebook unity sdk setting crash in Editor

After installing OpenSSL (1.0.1x) x64 vision. I pressed the Facebook>Edit Setting, and the Unity Editor crashed. Before I installed OpenSSL. It worked but OpenSSL was not found. Here is how I set it up. Unity3D 4.6.5f1 Win7…
Krola
  • 23
  • 1
  • 4
2
votes
2 answers

Workaround for Unity5 iOS compile error with facebook-unity-sdk 6.2.1

i am getting these errors when i try to compile on iOS: on ios: FBLinkShareParams *dialogParams = [[[FBLinkShareParams alloc] init] autorelease]; /Users/Daniel/Repositories/Unity5/FacebookTest/Assets/Facebook/Editor/iOS/FbUnityInterface.mm:561:73:…
Dani
  • 21
  • 1
  • 2
2
votes
1 answer

Windows phone 8 and Unity 5 support for Facebook SDK

This is a request for support for WP8 and Unity 5 for the Facebook SDK. I am a developer wanting to produce games across many platforms, and being able to publish to the Windows Phone 8 store is a big part of my agenda. Is support for this platform…
2
votes
0 answers

Getting install referrer when installing from FB requests

We are using the Facebook SDK for Unity (v6.2) for our game. Our game is available on both Android, iOS and now Canvas. We're sending different types of requests in the game to the player's FB friends. The behaviour (on mobile) is that if the game…
lysergic-acid
  • 19,570
  • 21
  • 109
  • 218