facebook-unity-sdk

Unity Can't build android with facebook sdk

浪尽此生 提交于 2020-01-05 08:09:19
问题 I have added the Facebook SDK (v7.10.1) to my Unity project, where I have the Gamespark SDK, too. When I build the game I get a re-package error. Anyone a idea what's the problem? CommandInvokationFailure: Failed to re-package resources. D:\Programmieren\Zubehör\Android SDK\build-tools\25.0.2\aapt.exe package -- auto-add-overlay -v -f -m -J "gen" -M "AndroidManifest.xml" -S "res" -I "D:/Programmieren/Zubehör/Android SDK\platforms\android-26\android.jar" -F bin/resources.ap_ --extra-packages

How can I use publish_actions for testing without review?

你。 提交于 2020-01-04 18:31:29
问题 I need to test score's post to facebook but it requires publish_actions permission. I use the last version of Facebook SDK for Unity3D. Is it possible to get publish_actions permission without review of my application? I tried to get this permission using FB.Login( "publish_actions", LoginCallback ); But FBResult of LoginCallback always returns error (403 forbidden) when I try to post score. I also tried to use test users of facebook sdk to test it but with no luck (the same problem - 403

How can I use publish_actions for testing without review?

£可爱£侵袭症+ 提交于 2020-01-04 18:31:28
问题 I need to test score's post to facebook but it requires publish_actions permission. I use the last version of Facebook SDK for Unity3D. Is it possible to get publish_actions permission without review of my application? I tried to get this permission using FB.Login( "publish_actions", LoginCallback ); But FBResult of LoginCallback always returns error (403 forbidden) when I try to post score. I also tried to use test users of facebook sdk to test it but with no luck (the same problem - 403

Facebook SDK 3.1.2 for Unity - Trouble logging in on Android Devices

白昼怎懂夜的黑 提交于 2020-01-04 01:52:12
问题 I'm using the latest version of the Facebook SDK, version 3.1.2, for Unity. My problem is somewhat similar to this question. The differences being that my iOS builds work just fine. And my Android builds aren't getting null references. Instead, My android build will just not log in. When I click my login button, it'll bring up the dialogue screen to give the app permission to access the basic stuff, public profile and friend list. Upon hitting the ok button, it'll return me to my app but fail

New Facebook SDK for Unity - Trouble logging in on iOS & Android

孤者浪人 提交于 2020-01-03 06:32:54
问题 I've downloaded the latest SDK (3.1.2) and tried exporting the test scene to iOS and Android. The FB.Init() button works fine on both, but the login has been giving me grief. When I build to iOS, it pops up the login screen inside my browser. After I put in my details, it then tells me: Sorry, this feature isn't available right now: An error occured while processing this request. Please try again later. When I build to Android and hit login, it asks me to confirm that I want the app to access

Facebook AppRequest handle on unity3d game

这一生的挚爱 提交于 2020-01-01 14:20:12
问题 I am trying to make a game in Unity3D with new facebook unity sdk. I am able to send an AppRequest to the friends in my list. But my doubt is, after my friends has downloaded the same game, how can I communicate with friends using the AppRequest. For eg. If I am sending a "Life" to the friend, my friend should see a "Life" sent from me in his game. his "Life" counter should get incremented by 1 (life++). Same thing with "Ammo" can be done. Sender : How to differentiate the "Life request" and

facebook unity sdk 6.0 crash app at second login

北城以北 提交于 2020-01-01 10:11:49
问题 Created a simple app with facebook unity sdk 6.0. In start function call the init facebook. There is a button call login and the login callback just output string. Run on a Samsung galaxy s5 with android 4.4.2. Issue (100% repeatable): 1. First time click login button, get the facebook login screen. 2. Click exit button, back to app. 3. Click login button again, app crashed. Crash dump: W/dalvikvm(16020): threadid=1: thread exiting with uncaught exception (group=0x417f3da0) V/SmartFaceService

Unity facebook SDK, can not post picture with FB.Feed

◇◆丶佛笑我妖孽 提交于 2020-01-01 05:28:28
问题 In my Unity IOS game, I am unsuccessfully trying to use FB.Feed to share a screenshot on the user's wall. Facebook documentation uses FB.Api to publish the screenshot, but this method does not display a share dialog, it simply uploads the pic to Facebook. Answers I have found so far: Upload the picture using FB.Api, and then parse the FBResult for the picture URL, and feed that to FB.Feed Link to answer. This method triggers an error, since it is not possible to use a Facebook URL as source

Facebook Android SDK 4.2.4 Cant Log in and isLogged returns false with Unity 4.3

人盡茶涼 提交于 2019-12-29 07:18:51
问题 I am facing an issue with the facebook sdk v4.2.4 with unity4.3. I am developing this in Android. What I did : I followed the steps that were told in the tutorial. The app key was added correctly and the keyhash was also correctly generated from the cmd console. When I tap log in, A blank screen comes, asks for permissions, I tap on yes and then returns back to the main menu (Interactive console scene). What I see is that the filed isLoggedIn is FALSE. I did it many times and found the same

Facebook Unity SDK android barfs when project connected to Asset Server

元气小坏坏 提交于 2019-12-24 02:01:36
问题 Tricky little issue. A test project with FB plugin worked fine, my project gave me below error. Turns out when i connected FB test project to asset server, and the .meta files got created for each folder, it would barf also. Any way to tell compiler to skip .meta files? Error building Player: CommandInvokationFailure: Failed to re-package resources. See the Console for details. /Users/me/android-sdk-macosx/platform-tools/aapt package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml