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
0
votes
1 answer

How to create custom request in Facebook Open Graph?

I am slightly confused about this whole open graph thing despite reading about it. How would I go about customizing it if I just want to change "xxx has sent you a request" to simply "xxx has sent you a challenge request" or "xxx has challenged you…
0
votes
1 answer

Facebook SDK for Unity: How to set app version when logging app events to be displayed in App Insights?

Facebook SDK for Unity provides methods for logging app events: FB.AppEvents.LogEvent. I've tried to log ActivatedApp using this line of code: FB.AppEvents.LogEvent(Facebook.FBAppEventName.ActivatedApp); The event was logged to my Facebook's App…
0
votes
1 answer

"Ask for gift" Facebook request without server

I want to implement "ask for help" feature in my game (Facebook Unity SDK). If user A asks user B for help, and user B accepts, user A will get a gift. My game is a single player experience right now so we have not created a server. Is there…
Andrew
  • 341
  • 5
  • 16
0
votes
1 answer

Authentication via Facebook in a cross platform unity3d application

I am working on a game in Unity3D (version 4.3.4) which I want to build to mobile platfroms Android and iOS. I am trying to make the login via Facebook. I have downloaded and imported Facebook SDK for Unity (5.0.4) into my Unity project. I have also…
0
votes
1 answer

How to get url of current window when using Facebook Unity sdk

I tried calling: Application.ExternalEval("UnityObject2.instances[0].getUnity().SendMessage('GameObjectName', 'SomeFunctionHere', document.URL);"); Which works great, but it could only retrieve the frame's url (it is a very long random html link)…
CyberMew
  • 1,159
  • 1
  • 16
  • 33
0
votes
2 answers

unity Facebook log in issue android

Trying to integrate facebook SDK (5.0.3) with unity 4.3.4f1, the Facebook plugin is the only one used with demo scene that was imported with the package, after ruining demo "Interactive Console" on galaxy S3 I get the following in the logcat when I…
user1097275
  • 137
  • 2
  • 9
0
votes
1 answer

Facebook Canvas unable to get profile picture

First time using Facebook Unity SDK, and it was able to download user's profile picture fine in Editor. However when I tried to test it on Facebook Canvas, it wasn't able to download it. You are trying to load data from a www stream which had the…
CyberMew
  • 1,159
  • 1
  • 16
  • 33
0
votes
1 answer

Facebook SDK for Unity: How to check if an invite has been sent?

I want to reward the player if he/she sends one or a specified number of invitations. I assume for overall in between sessions you'd have to store it somewhere on the web. But for now I just wanna count the invites sent in the current session for…
Chris
  • 1
  • 1
0
votes
1 answer

Facebook Unity SDK - get list of friends which use the application

I'm using the Facebook Unity SDK 5.0.3 (building an Andorid player) and running into an issue trying to get a list of the friends which use the application. Have found various examples which use fql for that purpose, e.g "'/fql?q=SELECT uid, name,…
Koshak118
  • 13
  • 5
0
votes
2 answers

Retrieving profile pictures of Facebook friends using facebook-sdk-unity

We are converting to Facebook's unity SDK and running into an issue downloading the profile images of friends. We are getting this error: error getting user picture Failed downloading…
0
votes
2 answers

Unity Facebook AppRequestCallback

I'm having a problem to get the users' id when after I send a app request. In the facebook manual, it is described as "An array of the recipient user IDs for the request that was…
Luis Liu
  • 73
  • 2
  • 2
  • 11
0
votes
2 answers

FB.PublishInstall() on Android

Brefore user login, this code: FB.Init(() => { FB.PublishInstall(); }); results in an error: 03-14 10:55:01.241: I/Unity(6662): (Filename: ./Runtime/ExportGenerated/AndroidManaged/UnityEngineDebug.cpp Line: 54) 03-14 10:55:01.326:…
0
votes
0 answers

Crash in ParseFacebookUtils on Android after upgrading Facebook Unity SDK from 4.3.6 to 5.0.4

After upgrading the Facebook Unity SDK from 4.3.6 to the 5.0.4 beta our game is crashing on Android during login in ParseFacebookUtils.LogInAsync() with a null reference exception. Our game uses Parse for user save persistence for cross-platform…
Mark Cooke
  • 11
  • 1
0
votes
1 answer

FB.AppRequest - Not able to parse the users who were invited

After doing a Fb.AppRequest, in my callback, I try to parse out how many users where invited by the user doing the invitation. The problem I'm having, is that I'm parsing my result as follows: var responseObject = Json.Deserialize(result.Text) as…
Gaston Claret
  • 1,000
  • 1
  • 7
  • 27
0
votes
1 answer

Facebook Unity SDK v5.0.4 - Trouble with login with mobile device

Some days ago, I used Facebook Unity SDK v5.0.3 and I tested successfully on my Android phone. But today I add another multi-platform plugin to my project(revmob-advertise), so it change my Androidmanifest.xml. Then I can't login using my Facebook…