facebook-unity-sdk

Upload picture to facebook from unity

巧了我就是萌 提交于 2019-11-29 22:27:05
问题 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 Fb.Feeb(picture:) attribute only accepts urls. I have read that you can use HTTP POST to post the picture to the users images and then use that link in picture:, but i dont know anything about HTTP POST and i couldnt figure out how to do it. I have

FB.Logout() not working in Facebook UnitySDK

谁说胖子不能爱 提交于 2019-11-29 14:35:42
I've managed to successfully log in FB using FB.Login function. Now I want to log out: FB.Logout(); Debug.Log("FB IS LOGGED IN " + FB.IsLoggedIn); I am expecting the above code to print the value of FB.IsLoggedIn as false and to ask me for a login and password on the next FB.Login . In fact the value of FB.IsLoggedIn is true and I am not being logged out: next call to FB.Login does not ask for password and I am not being logged out when I open facebook site in my browser. I've also tried to use the undocumented request to https://www.facebook.com/logout.php?next=[YourAppURL]&access_token=

Unable to verify assembly data; you must provide an authorization key when loading this assembly

梦想与她 提交于 2019-11-29 09:08:19
I'm testing the InteractiveConsole example in Unity. I did some configurations as described in the official tutorial . After some setups I got on step 7: Run our example code . However, I'm receiving the following errors: Unable to verify assembly data; you must provide an authorization key when loading this assembly. UnityEngine.Security:LoadAndVerifyAssembly(Byte[]) c__Iterator1:MoveNext() (at Assets/Facebook/Scripts/FB.cs:326) Could not securely load assembly from https://integrated-plugin-canvas-rsrc.fbsbx.com/rsrc/unity/lib/sdk_4.0/CanvasFacebook.dll UnityEngine.Debug:LogError(Object)

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

风格不统一 提交于 2019-11-29 08:50:56
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 result on UNITY4.3. On going through the forums I found that there is an issue with Unity4.3, so I

Facebook UNITY SDK login issue

泄露秘密 提交于 2019-11-28 14:34:27
I just installed the new version of Unity 4.3 and the new facebook sdk and I can't get it working. I created the app on facebook, copied over the app id to the unity facebook settings as required and copied the Package Name and Class name back to facebook. Because the Android Key Hash is empty ( even it shouldn't be ) I used the methods posted by others to create one with openssl. I created it and copied over to facebook as required. After this I created a small script to be able to login. // Use this for initialization void Start () { enabled = false; FB.Init(SetInit, OnHideUnity); } //

Unable to verify assembly data; you must provide an authorization key when loading this assembly

十年热恋 提交于 2019-11-28 02:29:53
问题 I'm testing the InteractiveConsole example in Unity. I did some configurations as described in the official tutorial. After some setups I got on step 7: Run our example code . However, I'm receiving the following errors: Unable to verify assembly data; you must provide an authorization key when loading this assembly. UnityEngine.Security:LoadAndVerifyAssembly(Byte[]) c__Iterator1:MoveNext() (at Assets/Facebook/Scripts/FB.cs:326) Could not securely load assembly from https://integrated-plugin

Facebook UNITY SDK login issue

懵懂的女人 提交于 2019-11-27 19:37:08
问题 I just installed the new version of Unity 4.3 and the new facebook sdk and I can't get it working. I created the app on facebook, copied over the app id to the unity facebook settings as required and copied the Package Name and Class name back to facebook. Because the Android Key Hash is empty ( even it shouldn't be ) I used the methods posted by others to create one with openssl. I created it and copied over to facebook as required. After this I created a small script to be able to login. //

How to work with Facebook SDK for Unity and Vuforia for Android?

亡梦爱人 提交于 2019-11-27 08:45:01
问题 I'm having a problem working with this two plugins together: on the AndroidManifest.xml both of them need to be "android.intent.category.LAUNCHER" <application android:icon="@drawable/app_icon" android:label="@string/app_name" android:theme="@android:style/Theme.NoTitleBar.Fullscreen" android:debuggable="false"> <activity android:name="com.qualcomm.QCARUnityPlayer.QCARPlayerNativeActivity" android:label="@string/app_name" android:screenOrientation="portrait" android:configChanges="fontScale

Facebook FB.Init() Fail for Android Unity

你。 提交于 2019-11-27 08:31:12
问题 I am using Unity 4.1.2 I have downloaded the latest Facebook SDK for Android package for unity from the developer's site. The package file name is "FacebookSDK-140401.unitypackage" The package is: 5.1 , April 1,2014 I created a new empty project. Imported the package. Opened the Example scene that came with the package: "InteractiveConsole" I played the game in my Unity Editor and pressed FB.Init() it worked fine. Here are the screenshots of the game and debug output. The Facebook Settings

Facebook Unity SDK on Android - Login fails when FB App installed

核能气质少年 提交于 2019-11-26 23:23:19
问题 I appear to be having the same issue as discussed in this question: Facebook SDK for Unity on Android - Trouble about callback from FB.Login On Android when the regular Facebook app is installed, calls to FB.Login() using the Unity SDK prompt the user to accept permissions for the app and when the app is approved the callback is fired with: FBResult.Text {"is_logged_in":false,"user_id":"","access_token":""} FBResult.Error null When the Facebook app is installed the web flow is used and works