I am trying to login into Facebook application using my IOS application. However it's not using SSO. It always redirects me to safari browser even if my device have Facebook application.
↧
Facebook login issue: Not able to open Facebook app when trying to login from my unity IOS application.
↧
How can i make a submit button in my game? (C#)
I'm building a game very similar with [Space Shooter][1], but i don't know how to add a feedback button. can anyone help me?
[1]: http://unity3d.com/learn/tutorials/modules/beginner/live-training-archive/space-shooter-to-mobile?playlist=17147
↧
↧
How to access ALL of a user's Facebook photos using the Facebook API?
Hi,
I would like to add a feature to my app where users can open all of their Facebook photos and select them to bring them into the app. So far though, I only know how to get the user's profile picture. Does anyone know how to do this? Thanks
↧
Facebook SDK FB.API post screenshot with user's message
Hi, I'm trying to post a screenshot and upload it to the user's facebook account.
I'm using facebook SDK and it's working fine with the example code i got from their Docs and i even managed to "pre-fill" a message and post it with the screenshot.
But pre-filling a message is against Facebook Platform Policy, so i'm looking for a way to use the same method and let the user fill in a message while i don't break Facebook Platform Policy.
private IEnumerator TakeScreenshot()
{
yield return new WaitForEndOfFrame();
var width = Screen.width;
var height = Screen.height;
var tex = new Texture2D(width, height, TextureFormat.RGB24, false);
// Read screen contents into the texture
tex.ReadPixels(new Rect(0, 0, width, height), 0, 0);
tex.Apply();
byte[] screenshot = tex.EncodeToPNG();
var wwwForm = new WWWForm();
wwwForm.AddBinaryData("image", screenshot, "InteractiveConsole.png");
wwwForm.AddField("message","some message"); // violating Facebook Platform Policy
FB.API("me/photos", Facebook.HttpMethod.POST, Callback, wwwForm);
}
↧
Please can someone help me get user's country using Facebook API
I have been trying to get the user's country using the Facebook API, but I keep getting an error.
permissions.Add("user_location");
FB.API("/me?fields=location", HttpMethod.GET, DisplayLocation);
void DisplayLocation(IResult result)
{
FacebookLocation = result.ResultDictionary["user_location"];
PlayerPrefs.SetString("location", FacebookLocation.ToString());
}
However it keeps giving an error:
KeyNotFoundException: The given key was not present in the dictionary.
System.Collections.Generic.Dictionary`2[System.String,System.Object].get_Item (System.String key) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:150)
facebook.DisplayLocation (IResult result) (at Assets/Scripts/facebook.cs:220)
Facebook.Unity.AsyncRequestString+c__Iterator1.MoveNext () (at Assets/Facebook/Scripts/Utils/AsyncRequestString.cs:132)
Please can someone kindly give some advice? Thanks!
↧
↧
Capture Screenshot and post to facebook?
Hey Guys, I have made a game in which we have to pop bubbles and score points. After the game is over, The screen comes up with final scores. I have made a button to capture the screenshot of the game window, which contains the final score and to post that same screenshot to facebook. I cannot figure it out, how to do it :S Can anyone please tell me how to do it? Please explain with the example :)
Thanks :)
↧
re-package resources. see the console for details facebook SDK
I'm trying to integrate Facebook with unity, but when I build I see a message "failed to re-package resources. see the console for details".
I searched on google but all I found was realted to google AdMob not the facebook SDK.
This is my Facebook Settings window
![alt text][1]
[1]: /storage/temp/69870-capture.png
and here is console details:
Error building Player: CommandInvokationFailure: Failed to re-package resources. See the Console for details.
C:\Users\Win-8\AppData\Local\Android\android-sdk\build-tools\24.0.0-preview\aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "C:/Users/Win-8/AppData/Local/Android/android-sdk\platforms\android-23\android.jar" -F bin/resources.ap_ --extra-packages android.support.v7.cardview:com.facebook:com.facebook.android:com.google.android.gms:android.support.v4:com.lonegame.boolybardomilkyway -S "C:\Users\Win-8\Desktop\Booly Bardo Universe\Temp\StagingArea\android-libraries\cardview-v7-23.1.1\res" -S "C:\Users\Win-8\Desktop\Booly Bardo Universe\Temp\StagingArea\android-libraries\facebook-android-sdk-4.9.0\res" -S "C:\Users\Win-8\Desktop\Booly Bardo Universe\Temp\StagingArea\android-libraries\facebook-android-wrapper-7.4.0\res" -S "C:\Users\Win-8\Desktop\Booly Bardo Universe\Temp\StagingArea\android-libraries\google-play-services_lib\res" -S "C:\Users\Win-8\Desktop\Booly Bardo Universe\Temp\StagingArea\android-libraries\support-v4-23.1.1\res" -S "C:\Users\Win-8\Desktop\Booly Bardo Universe\Temp\StagingArea\android-libraries\unity-android-resources\res"
stderr[
]
stdout[
Configurations:
(default)
Files:
values\version.xml
Src: () C:\Users\Win-8\Desktop\Booly Bardo Universe\Temp\StagingArea\android-libraries\unity-android-resources\res\values\version.xml
AndroidManifest.xml
Src: () AndroidManifest.xml
Resource Dirs:
Type values
values\version.xml
Src: () C:\Users\Win-8\Desktop\Booly Bardo Universe\Temp\StagingArea\android-libraries\unity-android-resources\res\values\version.xml
Including resources from package: C:\Users\Win-8\AppData\Local\Android\android-sdk\platforms\android-23\android.jar
applyFileOverlay for drawable
trying overlaySet Key=cast_ic_notification_0.png
trying overlaySet Key=cast_ic_notification_1.png
trying overlaySet Key=cast_ic_notification_2.png
trying overlaySet Key=cast_ic_notification_connecting.xml
trying overlaySet Key=cast_ic_notification_on.png
trying overlaySet Key=common_full_open_on_phone.png
trying overlaySet Key=common_google_signin_btn_icon_dark.xml
trying overlaySet Key=common_google_signin_btn_icon_light.xml
trying overlaySet Key=common_google_signin_btn_icon_light_disabled.9.png
trying overlaySet Key=common_google_signin_btn_icon_light_focused.9.png
trying overlaySet Key=common_google_signin_btn_icon_light_normal.9.png
trying overlaySet Key=common_google_signin_btn_icon_light_pressed.9.png
trying overlaySet Key=common_google_signin_btn_text_dark.xml
trying overlaySet Key=common_google_signin_btn_text_dark_disabled.9.png
trying overlaySet Key=common_google_signin_btn_text_dark_focused.9.png
trying overlaySet Key=common_google_signin_btn_text_dark_normal.9.png
trying overlaySet Key=common_google_signin_btn_text_dark_pressed.9.png
trying overlaySet Key=common_google_signin_btn_text_light.xml
trying overlaySet Key=common_google_signin_btn_text_light_disabled.9.png
trying overlaySet Key=common_google_signin_btn_text_light_focused.9.png
trying overlaySet Key=common_google_signin_btn_text_light_normal.9.png
trying overlaySet Key=common_google_signin_btn_text_light_pressed.9.png
trying overlaySet Key=common_ic_googleplayservices.png
trying overlaySet Key=common_plus_signin_btn_icon_dark.xml
trying overlaySet Key=common_plus_signin_btn_icon_dark_disabled.9.png
trying overlaySet Key=common_plus_signin_btn_icon_dark_focused.9.png
trying overlaySet Key=common_plus_signin_btn_icon_dark_normal.9.png
trying overlaySet Key=common_plus_signin_btn_icon_dark_pressed.9.png
trying overlaySet Key=common_plus_signin_btn_icon_light.xml
trying overlaySet Key=common_plus_signin_btn_icon_light_disabled.9.png
trying overlaySet Key=common_plus_signin_btn_icon_light_focused.9.png
trying overlaySet Key=common_plus_signin_btn_icon_light_normal.9.png
trying overlaySet Key=common_plus_signin_btn_icon_light_pressed.9.png
trying overlaySet Key=common_plus_signin_btn_text_dark.xml
trying overlaySet Key=common_plus_signin_btn_text_dark_disabled.9.png
trying overlaySet Key=common_plus_signin_btn_text_dark_focused.9.png
trying overlaySet Key=common_plus_signin_btn_text_dark_normal.9.png
trying overlaySet Key=common_plus_signin_btn_text_dark_pressed.9.png
trying overlaySet Key=common_plus_signin_btn_text_light.xml
trying overlaySet Key=common_plus_signin_btn_text_light_disabled.9.png
trying overlaySet Key=common_plus_signin_btn_text_light_focused.9.png
trying overlaySet Key=common_plus_signin_btn_text_light_normal.9.png
trying overlaySet Key=common_plus_signin_btn_text_light_pressed.9.png
trying overlaySet Key=ic_plusone_medium_off_client.png
trying overlaySet Key=ic_plusone_small_off_client.png
trying overlaySet Key=ic_plusone_standard_off_client.png
trying overlaySet Key=ic_plusone_tall_off_client.png
trying overlaySet Key=places_ic_clear.png
trying overlaySet Key=places_ic_search.png
trying overlaySet Key=powered_by_google_dark.png
trying overlaySet Key=powered_by_google_light.png
trying overlaySet Key=com_facebook_auth_dialog_background.xml
trying overlaySet Key=com_facebook_auth_dialog_cancel_background.xml
trying overlaySet Key=com_facebook_auth_dialog_header_background.xml
trying overlaySet Key=com_facebook_button_background.xml
trying overlaySet Key=com_facebook_button_icon.xml
trying overlaySet Key=com_facebook_button_icon_blue.png
trying overlaySet Key=com_facebook_button_icon_white.png
trying overlaySet Key=com_facebook_button_like_background.xml
trying overlaySet Key=com_facebook_button_like_icon_selected.png
trying overlaySet Key=com_facebook_button_login_silver_background.xml
trying overlaySet Key=com_facebook_button_send_background.xml
trying overlaySet Key=com_facebook_button_send_icon_blue.png
trying overlaySet Key=com_facebook_button_send_icon_white.png
trying overlaySet Key=com_facebook_close.png
trying overlaySet Key=com_facebook_favicon_white.png
trying overlaySet Key=com_facebook_profile_picture_blank_portrait.png
trying overlaySet Key=com_facebook_profile_picture_blank_square.png
trying overlaySet Key=com_facebook_send_button_icon.xml
trying overlaySet Key=com_facebook_tooltip_black_background.9.png
trying overlaySet Key=com_facebook_tooltip_black_bottomnub.png
trying overlaySet Key=com_facebook_tooltip_black_topnub.png
trying overlaySet Key=com_facebook_tooltip_black_xout.png
trying overlaySet Key=com_facebook_tooltip_blue_background.9.png
trying overlaySet Key=com_facebook_tooltip_blue_bottomnub.png
trying overlaySet Key=com_facebook_tooltip_blue_topnub.png
trying overlaySet Key=com_facebook_tooltip_blue_xout.png
trying overlaySet Key=messenger_bubble_large_blue.png
trying overlaySet Key=messenger_bubble_large_white.png
trying overlaySet Key=messenger_bubble_small_blue.png
trying overlaySet Key=messenger_bubble_small_white.png
trying overlaySet Key=messenger_button_blue_bg_round.xml
trying overlaySet Key=messenger_button_blue_bg_selector.xml
trying overlaySet Key=messenger_button_send_round_shadow.png
trying overlaySet Key=messenger_button_white_bg_round.xml
trying overlaySet Key=messenger_button_white_bg_selector.xml
trying overlaySet Key=app_banner.png
trying overlaySet Key=app_icon.png
applyFileOverlay for layout
trying overlaySet Key=place_autocomplete_fragment.xml
trying overlaySet Key=place_autocomplete_item_powered_by_google.xml
trying overlaySet Key=place_autocomplete_item_prediction.xml
trying overlaySet Key=place_autocomplete_progress.xml
trying overlaySet Key=com_facebook_activity_layout.xml
trying overlaySet Key=com_facebook_device_auth_dialog_fragment.xml
trying overlaySet Key=com_facebook_login_fragment.xml
trying overlaySet Key=com_facebook_tooltip_bubble.xml
trying overlaySet Key=messenger_button_send_blue_large.xml
trying overlaySet Key=messenger_button_send_blue_round.xml
trying overlaySet Key=messenger_button_send_blue_small.xml
trying overlaySet Key=messenger_button_send_white_large.xml
trying overlaySet Key=messenger_button_send_white_round.xml
trying overlaySet Key=messenger_button_send_white_small.xml
applyFileOverlay for anim
applyFileOverlay for animator
applyFileOverlay for interpolator
applyFileOverlay for transition
applyFileOverlay for xml
applyFileOverlay for raw
trying overlaySet Key=gtm_analytics
applyFileOverlay for color
trying overlaySet Key=common_google_signin_btn_text_dark.xml
trying overlaySet Key=common_google_signin_btn_text_light.xml
trying overlaySet Key=common_plus_signin_btn_text_dark.xml
trying overlaySet Key=common_plus_signin_btn_text_light.xml
trying overlaySet Key=wallet_primary_text_holo_light.xml
trying overlaySet Key=wallet_secondary_text_holo_dark.xml
trying overlaySet Key=com_facebook_button_text_color.xml
trying overlaySet Key=com_facebook_send_button_text_color.xml
applyFileOverlay for menu
applyFileOverlay for mipmap
Processing image: res\drawable-xhdpi\app_banner.png
Processing image: res\drawable\app_icon.png
Processing image: C:\Users\Win-8\Desktop\Booly Bardo Universe\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-mdpi\cast_ic_notification_0.png
Processing image: C:\Users\Win-8\Desktop\Booly Bardo Universe\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-hdpi\cast_ic_notification_0.png
(processed image C:\Users\Win-8\Desktop\Booly Bardo Universe\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-hdpi\cast_ic_notification_0.png: 167% size of source)
Processing image: C:\Users\Win-8\Desktop\Booly Bardo Universe\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-xhdpi\cast_ic_notification_0.png
(processed image C:\Users\Win-8\Desktop\Booly Bardo Universe\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-mdpi\cast_ic_notification_0.png: 180% size of source)
Processing image: C:\Users\Win-8\Desktop\Booly Bardo Universe\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-xxhdpi\cast_ic_notification_0.png
(processed image C:\Users\Win-8\Desktop\Booly Bardo Universe\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-xhdpi\cast_ic_notification_0.png: 161% size of source)
Processing image: C:\Users\Win-8\Desktop\Booly Bardo Universe\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-mdpi\cast_ic_notification_1.png
(processed image C:\Users\Win-8\Desktop\Booly Bardo Universe\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-xxhdpi\cast_ic_notification_0.png: 154% size of source)
Processing image: C:\Users\Win-8\Desktop\Booly Bardo Universe\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-hdpi\cast_ic_notification_1.png
(processed image C:\Users\Win-8\Desktop\Booly Bardo Universe\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-mdpi\cast_ic_notification_1.png: 181% size of source)
Processing image: C:\Users\Win-8\Desktop\Booly Bardo Universe\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-xhdpi\cast_ic_notification_1.png
(processed image C:\Users\Win-8\Desktop\Booly Bardo Universe\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-hdpi\cast_ic_notification_1.png: 168% size of source)
Processing image: C:\Users\Win-8\Desktop\Booly Bardo Universe\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-xxhdpi\cast_ic_notification_1.png
(processed image C:\Users\Win-8\Desktop\Booly Bardo Universe\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-xhdpi\cast_ic_notification_1.png: 177% size of source)
Processing image: C:\Users\Win-8\Desktop\Booly Bardo Universe\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-mdpi\cast_ic_notification_2.png
(processed image C:\Users\Win-8\Desktop\Booly Bardo Universe\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-xxhdpi\cast_ic_notification_1.png: 162% size of source)
Processing image: C:\Users\Win-8\Desktop\Booly Bardo Universe\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-hdpi\cast_ic_notification_2.png
(processed image C:\Users\Win-8\Desktop\Booly Bardo Universe\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-mdpi\cast_ic_notification_2.png: 177% size of source)
Processing image: C:\Users\Win-8\Desktop\Booly Bardo Universe\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-xhdpi\cast_ic_notification_2.png
(processed image C:\Users\Win-8\Desktop\Booly Bardo Universe\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-hdpi\cast_ic_notification_2.png: 180% size of source)
Processing image: C:\Users\Win-8\Desktop\Booly Bardo Universe\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-xxhdpi\cast_ic_notification_2.png
(processed image C:\Users\Win-8\Desktop\Booly Bardo Universe\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-xhdpi\cast_ic_notification_2.png: 181% size of source)
Processing image: C:\Users\Win-8\Desktop\Booly Bardo Universe\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-mdpi\cast_ic_notification_on.png
(processed image C:\Users\Win-8\Desktop\Booly Bardo Universe\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-xxhdpi\cast_ic_notification_2.png: 167% size of source)
Processing image: C:\Users\Win-8\Desktop\Booly Bardo Universe\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-hdpi\cast_ic_notification_on.png
(processed image C:\Users\Win-8\Desktop\Booly Bardo Universe\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-mdpi\cast_ic_notification_on.png: 185% size of source)
Processing image: C:\Users\Win-8\Desktop\Booly Bardo Universe\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-xhdpi\cast_ic_notification_on.png
(processed image C:\Users\Win-8\Desktop\Booly Bardo Universe\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-hdpi\cast_ic_notification_on.png: 184% size of source)
Processing image: C:\Users\Win-8\Desktop\Booly Bardo Universe\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-xxhdpi\cast_ic_notification_on.png
(processed image C:\Users\Win-8\Desktop\Booly Bardo Universe\Temp\StagingArea\android-libraries\google-play-services_lib\res\drawable-xhdpi\cast_ic_notification_on.png: 191% size of source)
Processing image: C:\Users\Win-8\Desktop\Booly Bardo Universe\Temp\StagingArea\android-libraries\facebook-android-sdk-4.9.0\res\drawable-mdpi\com_facebook_button_icon_blue.png
(processed image C:\Users\Win-8\Desktop\Booly Bardo Universe\Temp\StagingArea\android-libraries\facebook-android-sdk-4.9.0\res\drawable-mdpi\com_facebook_button_icon_blue.png: 30% size of source)
Processing image: C:\Users\Win-8\Desktop\Booly Bardo Universe\Temp\StagingArea\android-libraries\facebook-android-sdk-4.9.0\res\drawable-hdpi\com_facebook_button_icon_blue.png
(processed image C:\Users\Win-8\Desktop\Booly Bardo Universe\Temp\StagingArea\android-libraries\facebook-android-sdk-4.9.0\res\drawable-hdpi\com_facebook_button_icon_blue.png: 23% size of source)
Processing image: C:\Users\Win-8\Desktop\Booly Bardo Universe\Temp\StagingArea\android-libraries\facebook-android-sdk-4.9.0\res\drawable-xhdpi\com_facebook_button_icon_blue.png
(processed image C:\Users\Win-8\Desktop\Booly Bardo Universe\Temp\StagingArea\android-libraries\facebook-android-sdk-4.9.0\res\drawable-xhdpi\com_facebook_button_icon_blue.png: 22% size of source)
Processing image: C:\Users\Win-8\Desktop\Booly Bardo Universe\Temp\StagingArea\android-libraries\facebook-android-sdk-4.9.0\res\drawable-xxhdpi\com_facebook_button_icon_blue.png
(processed image C:\Users\Win-8\Desktop\Booly Bardo Universe\Temp\StagingArea\android-libraries\facebook-android-sdk-4.9.0\res\drawable-xxhdpi\com_facebook_button_icon_blue.png: 14% size of source)
Processin
↧
5.3.4 iOS Build with Facebook SDK Stuck on Unity Splash Screen
Edit: We have narrowed it down to the Facebook SDK, version 7.2.2 and 7.5.0. Problem occurs when player is logged in to Facebook. Still no idea how to solve though, logs are showing no errors. When starting on iOS on a clean install it works. When logging in to Facebook and returning to the game it freezes, but music continues to play. It works fine on Android.
* * *
We upgraded from 5.x (don't remember which version) to 5.3.4f1 and after the usual plugin upgrades and code fixes the game runs fine in Editor and on Android.
The iOS build doesn't get passed the Unity splash screen though. We see in the logs that the game keeps running; the MainScene is loaded and Awake and Start are called on different GameObjects.
When removing "Auto Graphics API" and trying different configs the iOS build gets passed the splash and shows the game, but the framerate is unplayable at around 1fps, so this is not an option.
We also upgraded to 5.3.4p6 and problem remains on iOS.
Has anyone else seen and solved this?
↧
Facebook SDK notifications not working
Is my understanding correct?...
If you use the Facebook SDK in your Unity project, and you use the AppRequest feature (or even the AppInvite feature) to send a request to a Facebook friend, NO notification will be sent, and the friend will have no idea you sent the request, unless the following things have been setup?:
1. In the Facebook Developer dashboard you need to make your app Public?
2. In the Facebook Developer dashboard you need to Submit For Approval?
3. You will only be successfully approved if your Unity game can also run in browser on Facebook.com?
4. You will not be successfully approved if your Unity game only runs on mobile?
Thank you
↧
↧
publish photo in specific album in page
hi every one , i want to publish photo to some one fan page under specific album so far i can publish photo in that page but i cant put it in album i want .any suggestion .
↧
[SOLVED] Facebook working until signed version then hash doesn't match :(
I'm working on a new game (same as everyone else), I've integrated Facebook following their guidlines, my app when I build it and send it to my phone works fine, I exported a signed version to upload to google play and put the same version on my phone, now I can't log in on the phone as I get a facebook 'invalid hash key' does not match stored hashes' error message.
Is this just because its a signed version put on my phone and everything is actually fine or is this because I did something wrong signing the package or something else?
Thanks in advance :)
Diego
[SOLVED UPDATE]
I needed to generate a key in unity and save it tutorial here :
https://www.youtube.com/watch?v=iBmgCnJ_z1k&feature=youtu.be
Then use terminal on my mac and run the following command :
keytool -exportcert -alias -keystore | openssl sha1 -binary | openssl base64
Swapping my release key alias and path for the name of the user in the keystore and the path to the file where I stored my keychain
If you get a syntax | error, don't use <> brackets when entering the username and path to the file.
I then copied the hash from terminal and pasted it into the facebook dev console.
Then finally I ran my app go the same error but a different hash, I copied that off my phone and pasted that into facebook dev console (so there are now 3, the debug one from fb sdk in unity, the generated one by terminal and the one from my phone). Done. for now....
Onwards and upwards to the next hurdle....
↧
Clearing web player cache
I am having problem with a game running on facebook, it has stopped working and I have contacted the developers and they ave told me to clear out the cache on unity web player.
Problem is I cant work out how to.
Im running windows 10 with chrome browser.
Unity web player does not work on Chrome, yet the game worked on Chrome and they tell me the fix is to do with the cache on Chrome.
What am I missing here?
Any help would be super
↧
Unity generates Android debug key hash, but it is 24 characters long, required 28
Hi,
I want to integrate my Unity Game with Facebook, and made applied all the operations until facebook settings. Once I had an OpenSSL not installed problem, but I overcame it by installing OpenSSL and changing system path. Everything seems ok, but unity generates a key has as follows (which is 24 characters long)
![alt text][1]
Then I copy the debug key hash to my application settings in facebook developers and have the following error:
![alt text][2]
[1]: /storage/temp/70945-keyhasunity.png
[2]: /storage/temp/70946-keyhashfacebook.png
The input must be 28 characters long. I am confused...
Thanks in advance.
↧
↧
Facebook SDK Login Loads for a long time
Hi, Im new here, I have my facebook SDK version 5.0.4, im using windows. I already have the Package Name, class name and Debug android key hash. When I played in Unity editor, login using user access token, it just loads for a long time, and did nothing. When I build it into my phone, the button cant even be clicked. Why??
↧
Failed to re-package resources
Hello!
I have the probleb with building my test android app for facebook.
Here is console :
CommandInvokationFailure: Failed to re-package resources. See the Console for details.
C:\Users\sasha_000\AppData\Local\Android\android-sdk\build-tools\24.0.0-preview\aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "C:/Users/sasha_000/AppData/Local/Android/android-sdk\platforms\android-23\android.jar" -F bin/resources.ap_ --extra-packages com.facebook.ads:android.support.v7.cardview:android.support.v7.cardview:com.facebook:com.facebook:com.facebook.android:com.facebook.android:android.support.v4:android.support.v4 -S "F:\Diplom\Reys Great Journey\Temp\StagingArea\android-libraries\ads-release\res" -S "F:\Diplom\Reys Great Journey\Temp\StagingArea\android-libraries\cardview-v7-23.1.1\res" -S "F:\Diplom\Reys Great Journey\Temp\StagingArea\android-libraries\cardview-v7-23.2.1\res" -S "F:\Diplom\Reys Great Journey\Temp\StagingArea\android-libraries\facebook-android-sdk-4.11.0\res" -S "F:\Diplom\Reys Great Journey\Temp\StagingArea\android-libraries\facebook-android-sdk-4.9.0\res" -S "F:\Diplom\Reys Great Journey\Temp\StagingArea\android-libraries\facebook-android-wrapper-7.4.0\res" -S "F:\Diplom\Reys Great Journey\Temp\StagingArea\android-libraries\facebook-android-wrapper-7.5.0\res" -S "F:\Diplom\Reys Great Journey\Temp\StagingArea\android-libraries\support-v4-23.1.1\res" -S "F:\Diplom\Reys Great Journey\Temp\StagingArea\android-libraries\support-v4-23.2.1\res"
stderr[
]
stdout[
Configurations:
(default)
Files:
AndroidManifest.xml
Src: () AndroidManifest.xml
Resource Dirs:
Including resources from package: C:\Users\sasha_000\AppData\Local\Android\android-sdk\platforms\android-23\android.jar
applyFileOverlay for drawable
trying overlaySet Key=com_facebook_auth_dialog_background.xml
trying overlaySet Key=com_facebook_auth_dialog_cancel_background.xml
trying overlaySet Key=com_facebook_auth_dialog_header_background.xml
trying overlaySet Key=com_facebook_button_background.xml
trying overlaySet Key=com_facebook_button_icon.xml
trying overlaySet Key=com_facebook_button_icon_blue.png
trying overlaySet Key=com_facebook_button_icon_white.png
trying overlaySet Key=com_facebook_button_like_background.xml
trying overlaySet Key=com_facebook_button_like_icon_selected.png
trying overlaySet Key=com_facebook_button_login_silver_background.xml
trying overlaySet Key=com_facebook_button_send_background.xml
trying overlaySet Key=com_facebook_button_send_icon_blue.png
trying overlaySet Key=com_facebook_button_send_icon_white.png
trying overlaySet Key=com_facebook_close.png
trying overlaySet Key=com_facebook_favicon_white.png
trying overlaySet Key=com_facebook_profile_picture_blank_portrait.png
trying overlaySet Key=com_facebook_profile_picture_blank_square.png
trying overlaySet Key=com_facebook_send_button_icon.xml
trying overlaySet Key=com_facebook_tooltip_black_background.9.png
trying overlaySet Key=com_facebook_tooltip_black_bottomnub.png
trying overlaySet Key=com_facebook_tooltip_black_topnub.png
trying overlaySet Key=com_facebook_tooltip_black_xout.png
trying overlaySet Key=com_facebook_tooltip_blue_background.9.png
trying overlaySet Key=com_facebook_tooltip_blue_bottomnub.png
trying overlaySet Key=com_facebook_tooltip_blue_topnub.png
trying overlaySet Key=com_facebook_tooltip_blue_xout.png
trying overlaySet Key=messenger_bubble_large_blue.png
trying overlaySet Key=messenger_bubble_large_white.png
trying overlaySet Key=messenger_bubble_small_blue.png
trying overlaySet Key=messenger_bubble_small_white.png
trying overlaySet Key=messenger_button_blue_bg_round.xml
trying overlaySet Key=messenger_button_blue_bg_selector.xml
trying overlaySet Key=messenger_button_send_round_shadow.png
trying overlaySet Key=messenger_button_white_bg_round.xml
trying overlaySet Key=messenger_button_white_bg_selector.xml
trying overlaySet Key=com_facebook_auth_dialog_background.xml
baseFile 0 has flavor
overlayFile 0 has flavor
found a match (0) for overlay file com_facebook_auth_dialog_background.xml, for flavor
trying overlaySet Key=com_facebook_auth_dialog_cancel_background.xml
baseFile 0 has flavor
overlayFile 0 has flavor
found a match (0) for overlay file com_facebook_auth_dialog_cancel_background.xml, for flavor
trying overlaySet Key=com_facebook_auth_dialog_header_background.xml
baseFile 0 has flavor
overlayFile 0 has flavor
found a match (0) for overlay file com_facebook_auth_dialog_header_background.xml, for flavor
trying overlaySet Key=com_facebook_button_background.xml
baseFile 0 has flavor
overlayFile 0 has flavor
found a match (0) for overlay file com_facebook_button_background.xml, for flavor
trying overlaySet Key=com_facebook_button_icon.xml
baseFile 0 has flavor
overlayFile 0 has flavor
found a match (0) for overlay file com_facebook_button_icon.xml, for flavor
trying overlaySet Key=com_facebook_button_icon_blue.png
baseFile 0 has flavor mdpi-v4
baseFile 1 has flavor hdpi-v4
baseFile 2 has flavor xhdpi-v4
baseFile 3 has flavor xxhdpi-v4
overlayFile 0 has flavor mdpi-v4
overlayFile 1 has flavor hdpi-v4
overlayFile 2 has flavor xhdpi-v4
overlayFile 3 has flavor xxhdpi-v4
found a match (0) for overlay file com_facebook_button_icon_blue.png, for flavor mdpi-v4
found a match (1) for overlay file com_facebook_button_icon_blue.png, for flavor hdpi-v4
found a match (2) for overlay file com_facebook_button_icon_blue.png, for flavor xhdpi-v4
found a match (3) for overlay file com_facebook_button_icon_blue.png, for flavor xxhdpi-v4
trying overlaySet Key=com_facebook_button_icon_white.png
baseFile 0 has flavor mdpi-v4
baseFile 1 has flavor hdpi-v4
baseFile 2 has flavor xhdpi-v4
baseFile 3 has flavor xxhdpi-v4
overlayFile 0 has flavor mdpi-v4
overlayFile 1 has flavor hdpi-v4
overlayFile 2 has flavor xhdpi-v4
overlayFile 3 has flavor xxhdpi-v4
found a match (0) for overlay file com_facebook_button_icon_white.png, for flavor mdpi-v4
found a match (1) for overlay file com_facebook_button_icon_white.png, for flavor hdpi-v4
found a match (2) for overlay file com_facebook_button_icon_white.png, for flavor xhdpi-v4
found a match (3) for overlay file com_facebook_button_icon_white.png, for flavor xxhdpi-v4
trying overlaySet Key=com_facebook_button_like_background.xml
baseFile 0 has flavor
overlayFile 0 has flavor
found a match (0) for overlay file com_facebook_button_like_background.xml, for flavor
trying overlaySet Key=com_facebook_button_like_icon_selected.png
baseFile 0 has flavor mdpi-v4
baseFile 1 has flavor hdpi-v4
baseFile 2 has flavor xhdpi-v4
baseFile 3 has flavor xxhdpi-v4
overlayFile 0 has flavor mdpi-v4
overlayFile 1 has flavor hdpi-v4
overlayFile 2 has flavor xhdpi-v4
overlayFile 3 has flavor xxhdpi-v4
found a match (0) for overlay file com_facebook_button_like_icon_selected.png, for flavor mdpi-v4
found a match (1) for overlay file com_facebook_button_like_icon_selected.png, for flavor hdpi-v4
found a match (2) for overlay file com_facebook_button_like_icon_selected.png, for flavor xhdpi-v4
found a match (3) for overlay file com_facebook_button_like_icon_selected.png, for flavor xxhdpi-v4
trying overlaySet Key=com_facebook_button_login_silver_background.xml
baseFile 0 has flavor
overlayFile 0 has flavor
found a match (0) for overlay file com_facebook_button_login_silver_background.xml, for flavor
trying overlaySet Key=com_facebook_button_send_background.xml
baseFile 0 has flavor
overlayFile 0 has flavor
found a match (0) for overlay file com_facebook_button_send_background.xml, for flavor
trying overlaySet Key=com_facebook_button_send_icon_blue.png
baseFile 0 has flavor mdpi-v4
baseFile 1 has flavor hdpi-v4
baseFile 2 has flavor xhdpi-v4
overlayFile 0 has flavor mdpi-v4
overlayFile 1 has flavor hdpi-v4
overlayFile 2 has flavor xhdpi-v4
found a match (0) for overlay file com_facebook_button_send_icon_blue.png, for flavor mdpi-v4
found a match (1) for overlay file com_facebook_button_send_icon_blue.png, for flavor hdpi-v4
found a match (2) for overlay file com_facebook_button_send_icon_blue.png, for flavor xhdpi-v4
trying overlaySet Key=com_facebook_button_send_icon_white.png
baseFile 0 has flavor mdpi-v4
baseFile 1 has flavor hdpi-v4
baseFile 2 has flavor xhdpi-v4
baseFile 3 has flavor xxhdpi-v4
overlayFile 0 has flavor mdpi-v4
overlayFile 1 has flavor hdpi-v4
overlayFile 2 has flavor xhdpi-v4
overlayFile 3 has flavor xxhdpi-v4
found a match (0) for overlay file com_facebook_button_send_icon_white.png, for flavor mdpi-v4
found a match (1) for overlay file com_facebook_button_send_icon_white.png, for flavor hdpi-v4
found a match (2) for overlay file com_facebook_button_send_icon_white.png, for flavor xhdpi-v4
found a match (3) for overlay file com_facebook_button_send_icon_white.png, for flavor xxhdpi-v4
trying overlaySet Key=com_facebook_close.png
baseFile 0 has flavor mdpi-v4
baseFile 1 has flavor hdpi-v4
baseFile 2 has flavor xhdpi-v4
overlayFile 0 has flavor mdpi-v4
overlayFile 1 has flavor hdpi-v4
overlayFile 2 has flavor xhdpi-v4
found a match (0) for overlay file com_facebook_close.png, for flavor mdpi-v4
found a match (1) for overlay file com_facebook_close.png, for flavor hdpi-v4
found a match (2) for overlay file com_facebook_close.png, for flavor xhdpi-v4
trying overlaySet Key=com_facebook_favicon_white.png
baseFile 0 has flavor mdpi-v4
baseFile 1 has flavor hdpi-v4
baseFile 2 has flavor xhdpi-v4
baseFile 3 has flavor xxhdpi-v4
overlayFile 0 has flavor mdpi-v4
overlayFile 1 has flavor hdpi-v4
overlayFile 2 has flavor xhdpi-v4
overlayFile 3 has flavor xxhdpi-v4
found a match (0) for overlay file com_facebook_favicon_white.png, for flavor mdpi-v4
found a match (1) for overlay file com_facebook_favicon_white.png, for flavor hdpi-v4
found a match (2) for overlay file com_facebook_favicon_white.png, for flavor xhdpi-v4
found a match (3) for overlay file com_facebook_favicon_white.png, for flavor xxhdpi-v4
trying overlaySet Key=com_facebook_profile_picture_blank_portrait.png
baseFile 0 has flavor mdpi-v4
overlayFile 0 has flavor mdpi-v4
found a match (0) for overlay file com_facebook_profile_picture_blank_portrait.png, for flavor mdpi-v4
trying overlaySet Key=com_facebook_profile_picture_blank_square.png
baseFile 0 has flavor mdpi-v4
overlayFile 0 has flavor mdpi-v4
found a match (0) for overlay file com_facebook_profile_picture_blank_square.png, for flavor mdpi-v4
trying overlaySet Key=com_facebook_send_button_icon.xml
baseFile 0 has flavor
overlayFile 0 has flavor
found a match (0) for overlay file com_facebook_send_button_icon.xml, for flavor
trying overlaySet Key=com_facebook_tooltip_black_background.9.png
baseFile 0 has flavor mdpi-v4
baseFile 1 has flavor hdpi-v4
baseFile 2 has flavor xhdpi-v4
overlayFile 0 has flavor mdpi-v4
overlayFile 1 has flavor hdpi-v4
overlayFile 2 has flavor xhdpi-v4
found a match (0) for overlay file com_facebook_tooltip_black_background.9.png, for flavor mdpi-v4
found a match (1) for overlay file com_facebook_tooltip_black_background.9.png, for flavor hdpi-v4
found a match (2) for overlay file com_facebook_tooltip_black_background.9.png, for flavor xhdpi-v4
trying overlaySet Key=com_facebook_tooltip_black_bottomnub.png
baseFile 0 has flavor mdpi-v4
baseFile 1 has flavor hdpi-v4
baseFile 2 has flavor xhdpi-v4
overlayFile 0 has flavor mdpi-v4
overlayFile 1 has flavor hdpi-v4
overlayFile 2 has flavor xhdpi-v4
found a match (0) for overlay file com_facebook_tooltip_black_bottomnub.png, for flavor mdpi-v4
found a match (1) for overlay file com_facebook_tooltip_black_bottomnub.png, for flavor hdpi-v4
found a match (2) for overlay file com_facebook_tooltip_black_bottomnub.png, for flavor xhdpi-v4
trying overlaySet Key=com_facebook_tooltip_black_topnub.png
baseFile 0 has flavor mdpi-v4
baseFile 1 has flavor hdpi-v4
baseFile 2 has flavor xhdpi-v4
overlayFile 0 has flavor mdpi-v4
overlayFile 1 has flavor hdpi-v4
overlayFile 2 has flavor xhdpi-v4
found a match (0) for overlay file com_facebook_tooltip_black_topnub.png, for flavor mdpi-v4
found a match (1) for overlay file com_facebook_tooltip_black_topnub.png, for flavor hdpi-v4
found a match (2) for overlay file com_facebook_tooltip_black_topnub.png, for flavor xhdpi-v4
trying overlaySet Key=com_facebook_tooltip_black_xout.png
baseFile 0 has flavor mdpi-v4
baseFile 1 has flavor hdpi-v4
baseFile 2 has flavor xhdpi-v4
overlayFile 0 has flavor mdpi-v4
overlayFile 1 has flavor hdpi-v4
overlayFile 2 has flavor xhdpi-v4
found a match (0) for overlay file com_facebook_tooltip_black_xout.png, for flavor mdpi-v4
found a match (1) for overlay file com_facebook_tooltip_black_xout.png, for flavor hdpi-v4
found a match (2) for overlay file com_facebook_tooltip_black_xout.png, for flavor xhdpi-v4
trying overlaySet Key=com_facebook_tooltip_blue_background.9.png
baseFile 0 has flavor mdpi-v4
baseFile 1 has flavor hdpi-v4
baseFile 2 has flavor xhdpi-v4
overlayFile 0 has flavor mdpi-v4
overlayFile 1 has flavor hdpi-v4
overlayFile 2 has flavor xhdpi-v4
found a match (0) for overlay file com_facebook_tooltip_blue_background.9.png, for flavor mdpi-v4
found a match (1) for overlay file com_facebook_tooltip_blue_background.9.png, for flavor hdpi-v4
found a match (2) for overlay file com_facebook_tooltip_blue_background.9.png, for flavor xhdpi-v4
trying overlaySet Key=com_facebook_tooltip_blue_bottomnub.png
baseFile 0 has flavor mdpi-v4
baseFile 1 has flavor hdpi-v4
baseFile 2 has flavor xhdpi-v4
overlayFile 0 has flavor mdpi-v4
overlayFile 1 has flavor hdpi-v4
overlayFile 2 has flavor xhdpi-v4
found a match (0) for overlay file com_facebook_tooltip_blue_bottomnub.png, for flavor mdpi-v4
found a match (1) for overlay file com_facebook_tooltip_blue_bottomnub.png, for flavor hdpi-v4
found a match (2) for overlay file com_facebook_tooltip_blue_bottomnub.png, for flavor xhdpi-v4
trying overlaySet Key=com_facebook_tooltip_blue_topnub.png
baseFile 0 has flavor mdpi-v4
baseFile 1 has flavor hdpi-v4
baseFile 2 has flavor xhdpi-v4
overlayFile 0 has flavor mdpi-v4
overlayFile 1 has flavor hdpi-v4
overlayFile 2 has flavor xhdpi-v4
found a match (0) for overlay file com_facebook_tooltip_blue_topnub.png, for flavor mdpi-v4
found a match (1) for overlay file com_facebook_tooltip_blue_topnub.png, for flavor hdpi-v4
found a match (2) for overlay file com_facebook_tooltip_blue_topnub.png, for flavor xhdpi-v4
trying overlaySet Key=com_facebook_tooltip_blue_xout.png
baseFile 0 has flavor mdpi-v4
baseFile 1 has flavor hdpi-v4
baseFile 2 has flavor xhdpi-v4
overlayFile 0 has flavor mdpi-v4
overlayFile 1 has flavor hdpi-v4
overlayFile 2 has flavor xhdpi-v4
found a match (0) for overlay file com_facebook_tooltip_blue_xout.png, for flavor mdpi-v4
found a match (1) for overlay file com_facebook_tooltip_blue_xout.png, for flavor hdpi-v4
found a match (2) for overlay file com_facebook_tooltip_blue_xout.png, for flavor xhdpi-v4
trying overlaySet Key=messenger_bubble_large_blue.png
baseFile 0 has flavor mdpi-v4
baseFile 1 has flavor hdpi-v4
baseFile 2 has flavor xhdpi-v4
baseFile 3 has flavor xxhdpi-v4
overlayFile 0 has flavor mdpi-v4
overlayFile 1 has flavor hdpi-v4
overlayFile 2 has flavor xhdpi-v4
overlayFile 3 has flavor xxhdpi-v4
found a match (0) for overlay file messenger_bubble_large_blue.png, for flavor mdpi-v4
found a match (1) for overlay file messenger_bubble_large_blue.png, for flavor hdpi-v4
found a match (2) for overlay file messenger_bubble_large_blue.png, for flavor xhdpi-v4
found a match (3) for overlay file messenger_bubble_large_blue.png, for flavor xxhdpi-v4
trying overlaySet Key=messenger_bubble_large_white.png
baseFile 0 has flavor mdpi-v4
baseFile 1 has flavor hdpi-v4
baseFile 2 has flavor xhdpi-v4
baseFile 3 has flavor xxhdpi-v4
overlayFile 0 has flavor mdpi-v4
overlayFile 1 has flavor hdpi-v4
overlayFile 2 has flavor xhdpi-v4
overlayFile 3 has flavor xxhdpi-v4
found a match (0) for overlay file messenger_bubble_large_white.png, for flavor mdpi-v4
found a match (1) for overlay file messenger_bubble_large_white.png, for flavor hdpi-v4
found a match (2) for overlay file messenger_bubble_large_white.png, for flavor xhdpi-v4
found a match (3) for overlay file messenger_bubble_large_white.png, for flavor xxhdpi-v4
trying overlaySet Key=messenger_bubble_small_blue.png
baseFile 0 has flavor mdpi-v4
baseFile 1 has flavor hdpi-v4
baseFile 2 has flavor xhdpi-v4
baseFile 3 has flavor xxhdpi-v4
overlayFile 0 h
↧
Facebook login for Windows
Hello, it appears the Facebook SDK unity provides is only supported on Android and iOS.
Is there any known working solution for Windows and Windows phone?
I need to get the access token.
Thanks,
--Mike
↧
How to do communication between apps. ( Android )
So I'm making Android game and I want to do duels between users. For example user A sends invitation for duel to user B, when user B will enter game he should see notification that he has not accepted duel from user A, then he can accept invitation and play game, after play user B app will send to user A app score which user B achived, then user A should see notification that user B accepted and played game, so he can play game and if he has more points he won if not won user B. I just need way to send some data between apps, f.e score and invitations, users do not see each other in game etc. just need to send some data. Any ideas how can I do that ?
NOTE: My game is integrated with Facebook, so tell me if is there any way to do communication between apps using Facebook, if not I can do any other way, just post your ideas.
Thanks !
↧
↧
webgl + Facebook Canvas not working
I have my webgl build running on Azure perfectly, now when I try to link it up through Facebook canvas I get this error
The page you are looking for cannot be displayed because an invalid method (HTTP verb) is being used.
Please and thank you for the help!
↧
Facebook with Windows Phone
Is there any current solution to integrate Facebook api on Windows Phone apps? We previously used the plugin Prime31 but they ceased the support for this platform since last August.
**Here is in more detail the situation:**
I'm trying to use the SocialNetwork plugin to connect my game with facebook on our Windows phone 8.1 game but unfortunately the plugin isn't working properly.
The login system works fine but the graphRequest() and getMe() always return with an error : (error 400 : Bad Request)
I'm doing the following graphrequest:
FacebookPrime.instance.graphRequest("/me?fields=id,name,gender,birthday,email,picture.height(64).width(64)", (error, result) => {});
Do you know what might solve this problem?
↧
How can I get friends list why playing my game by facebook sdk
I want to see all friends who ever play in my app, how can I do that ?
↧