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
4
votes
0 answers

Facebook Unity 5.0.3 Login Failed

Hi I'm integrating Facebook with my Unity3d game The problem is that, it seems like players can't login to facebook properly. There are error logs here OverflowException: Value is greater than Char.MaxValue or less than Char.MinValue…
4
votes
1 answer

Import error from Eclipse with Facebook .jar?

I get several errors when I try to call the class UiLifecycleHelper in a plugin between Eclipse and Unity. I copied the facebooksdk.jar in the libs folder of my project, then added it in Properties > Java Build Path > Add JAR I also tried to…
Paul
  • 6,108
  • 14
  • 72
  • 128
4
votes
1 answer

Upload picture to facebook from unity

Im working on a unity game where you can take a picture and upload this picture to facebook from unity along with some tags and stuff (much like friendsmash). The problem is that i do not have a web-server that i can put the screenshots on, and the…
4
votes
1 answer

Error: cannot invite friends using Facebook SDK for Unity

I was wondering if somebody can help me to solve this problem. I am trying to use FB.AppRequest() in Facebook SDK for Unity to implement an Invite feature . This is the code which I use. if(FB.IsLoggedIn) { FB.AppRequest( message: "Let's…
Nicholas
  • 95
  • 1
  • 9
3
votes
1 answer

NoClassDefFoundError when trying to login with facebook

I'm trying to implement login with Facebook in my unity app but when I'm calling FB.LogInWithReadPermissions I'm getting the following error: java.lang.NoClassDefFoundError:…
ronara
  • 336
  • 11
  • 26
3
votes
0 answers

Facebook has deprecated the Open Graph Objects and Stories What are alternatives?

As I am observing from some time, Facebook has started to phase out quite allot of usable features from their Platform. The Open Graph Custom Stories (Object & Actions) Support is one of them. They even restricted usage of score Api. Which means we…
3
votes
2 answers

Unity3d Error FacebookSDK

I have face with this error log when I try to get Build stderr[ /Users/enes/WordeXtra/Temp/StagingArea/android-libraries/facebook-android-sdk-4.23.0/res/values/values.xml:131: error: Error retrieving parent for item: No resource found that matches…
Enes
  • 99
  • 3
  • 13
3
votes
0 answers

Can Firebase Facebook Authentication be tested in Unity Editor?

I'm building an Android app that logins with Facebook and authenticates via Firebase Authentication. The app is unity 3d based and the project is set to Android environment. The app is a simple "Facebook login" button that logs in to Facebook, gets…
3
votes
2 answers

How to detect if WebGL is on Facebook Canvas

Im currently facing an issue where I am using the Facebook plugin v.7.1.0 for Unity. Im distributing through WebGL, but my app needs to be running both on Facebook, but also outside Facebook. When using FB.Init I get a successful callback, which is…
HrLarsen
  • 105
  • 10
3
votes
0 answers

I can't login to facebook using an app developed in unity with facebook SDK

I make an android game and I integrated it with Facebook, and it was working fine until I received this notification on my Facebook developer page: This account has enhanced targeting data set to off. We are removing the opt out setting, effective…
Omar Alesharie
  • 251
  • 1
  • 2
  • 6
3
votes
0 answers

FB.ActivateApp() not showing installs on fb dashboard

I'm losing my mind here. Using the facebook unity sdk, i call init(), then on init callback i call FB.ActivateApp(), and FB.AppEvents.LogEvent(Facebook.FBAppEventName.ActivatedApp) for good measure, and i'll be damned if i can reliably see any…
Klaus Rubba
  • 169
  • 1
  • 11
3
votes
0 answers

Anyone Managed to Display a Facebook Like Button in a Unity Facebook Canvas App?

Has anyone had any luck displaying a Facebook Like button in their Unity based Facebook App? The current Facebook SDK for Unity (6.2.1) doesn't have any support for a Like button which is really annoying because they have support for social buttons…
3
votes
1 answer

Reading AppLink data with Unity3D on iOS and Android

We are are trying to add AppLinks to our Facebook self hosted Open Graph objects. I've added the required meta tags and now one of our Unity developers is implementing it in our Android and iOS mobile clients. We aren't able to find documentation…
3
votes
1 answer

Webview orientation/rotation issue with Facebook Unity SDK

The Facebook Unity SDK webview login is stuck in portrait mode, even though my game is in landscape. All the code is in a native library and I don't have access to change it. The issue seems to be fixed in the Facebook iOS SDK v3.18 but not yet in…
3
votes
1 answer

Correct usage of FB.Logout in Facebook Unity3D SDK

I'm currently working on some lightweight code to correctly wrap usage of the Facebook Unity SDK for some client applications, and I've run into a minor problem, wherein the Facebook Unity SDK docs suggest that I shouldn't be doing what I am.…
1 2
3
40 41