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
2 answers

Facebook Android Unity can't post screenshot

I made a unity project and included facebook in it. Everything worked fine until I used OBB spliter. Actually, I just wanted to share a screenshot of the game so I did this: private void CallFBLogin() { print ("test"); …
0
votes
0 answers

Facebook Unity SDK 5.0.3 beta - FB.API giving FileNotFoundException on Android (works fine with previous version)

FB.API("me?fields=id,age_range,gender,devices,first_name,locale,birthday,location,email", Facebook.HttpMethod.GET, GetMyInfoCallback); 02-11 01:44:00.817: E/Unity(8752): java.io.FileNotFoundException:…
tayl0rs
  • 561
  • 2
  • 5
  • 14
0
votes
2 answers

Facebook Unity3d SDK: Where does FbDebug.Log log?

I've just started learning writing apps for FB, and have started studying the code for Friend Smash, and I noticed that FbDebug.Log() is sprinkled everywhere. So where does all this logging go, and where can I see it? I've been searching…
RVC
  • 420
  • 1
  • 4
  • 12
0
votes
1 answer

Unity3d web app facebook Sdk payments API Error Code: 1383008

I am developing a facebook game in Unity3d using facebook's new facebook sdk, running the app as a web app inside facebook in sandbox mode. Today I started implementing a shop in the game for microtransactions using their canvas pay model. I read…
0
votes
1 answer

Facebook SDK working in Editor, but not when I upload it to my Server

I am using the Facebook Sdk 5.0.3 Beta for a test proyect I'm working on Unity. When I run my game in the editor, I can login, post to my feed, all without a problem. But I'm having trouble to deploy it to my server. I upload the output of the…
Gaston Claret
  • 1,000
  • 1
  • 7
  • 27
0
votes
0 answers

Unity meta files screw up facebook android builds

I had already posted this, found a workaround and marked as answered: Facebook Unity SDK android barfs when project connected to Asset Server But just came back to this project 3 months later, got the brand spanking new facebook SDK which has many…
Klaus Rubba
  • 169
  • 1
  • 11
0
votes
3 answers

Unable to login / Facebook Unity SDK & Android

Facebook Unity SDK: 5.0.3 beta When I try to login having installed Facebook app it asks me if I'll allow this app to access my profile (then I can see on facebook in my profile applications page that access is given indeed), but nothing happens…
0
votes
3 answers

"Login cancelled by player" callback in facebook api for Unity IOS (only if you have facebook app in device)

I am using unity facebook api 4.3.6 for ios. Its working perfectly fine if I don't have #facebookapp in my device. Once I download it and try login, it takes me to #facebookapp and redirect again to my game with callback FB Login callback :…
Imran
  • 1,070
  • 16
  • 31
0
votes
1 answer

Fail login using unity sdk

version 4.3.6 and 5.0.3 I already have apps.facebook.com/ffstudio-dev. It is doing well. And I was created apps.facebook.com/thailandtfm today. But new app is not working. private void SetInit() { FbDebug.Log("SetInit"); Debug.Log("[SetInit]"…
0
votes
1 answer

Using Facebook Unity SDK, how to post a custom story with a screenshot on iOS

How do you post a custom story via the Facebook Unity SDK with a screenshot attached? What I did: Followed smash Unity tutorial. Created profile object. Created action smash. Created story smash + profile. Saved. 1) It says Unable to Generate Story.…
0
votes
1 answer

Using Unity Facebook SDK 5.0.3, how can I get N random friends?

What would the FB.API call be to get 10 random friends? I am pretty sure this can be done with an fql query, but I do not know the exact syntax. It would have the form: FB.API(fqlQuery, Facebook.HttpMethod.GET, getNRandomFriendsCallback); So my…
0
votes
1 answer

Unity Beta SDK 5.0.3 - Problems logging in on Android device

I am having problems with logging in on my test android device. I am calling: FB.Login("", AfterLogin); I get no error in the response but still the access token is empty (i've noticed that on subsequent requests). It is important to say that it…
Nimrod Shory
  • 2,475
  • 2
  • 19
  • 25
0
votes
0 answers

Facebook Unity plugin, cant extend access token or set session log in behaviour

I am choosing to use the facebook plug in over the Prime31 and I like it so far, however I am quickly noticing two problems: I don't see a method to set the session log in behavior, if I want to force web view I can't find an option to do that. I…
0
votes
0 answers

Unity3D Facebook FB.AppRequest doesn't work on android

I'm trying to send App Requests from my game (made with Unity3D) using the official facebook plugin. I can login, post on wall and use graph api without problems, so I know that I'm on the right way, but when I try to send App Request the callback…
Luca D'Amico
  • 3,192
  • 2
  • 26
  • 38
0
votes
1 answer

Unity FB SDK on iOS: Problems with FB.Feed function

We started using Facebook's SDK in our game which was made with Unity. We are trying to post "brag posts" when people win against their friends, and we use FB.Feed with the friend's ID in the "to" parameter. In iOS devices running with an older FB…
Ron
  • 1,806
  • 3
  • 18
  • 31